How do I save coordinates of a point where the mouse or a touch is?

dimokdimok Member Posts: 16
edited November -1 in Working with GS (Mac)
Hi! For example if i want my actor to move to a point where my finger is on an ipad, I will have to be able to save the coordinates of m finger on the screen.. Does anybody know how to do it?
Thanks!)

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    you can either use the mouse x and y positions or the touch.1 x and y positions.

    Those are found in the expression editor under device
  • dimokdimok Member Posts: 16
    Thanks! it works)
  • dimokdimok Member Posts: 16
    what is the difference between index and real attributes?
    I am affraid to use it anywhere because i ton't know what it does..)
  • dimokdimok Member Posts: 16
    not index, I ment integer*
Sign In or Register to comment.