Home Questions how-can-i-get-the-position-of-my-cursor

how-can-i-get-the-position-of-my-cursor

DWQA QuestionsCategory: KINARM End-Point Labhow-can-i-get-the-position-of-my-cursor
Yihui Xu asked 5 years ago
Hi, I am designed a simulink program whose handle position and cursor position are at different place. I just wonder how can I get the x ,y position of cursor.
1 Answers
Koloman Varady Staff answered 5 years ago
Hi Yihui Xu, If you look at the vcode of the cursor, x and y are the 3rd and 4th element of the vector. For more on what different parts of a vcode mean, you can look inside the code of a Show Target block or see section 10.7 of our Creating Task Programs for Dexterit-E 3.7 guide.