how to save mouse position as an atribute

deheciledehecile Member Posts: 126
edited November -1 in Working with GS (Mac)
does anyone know how i would save the position of a click as an attribut which i could then go back later and see where i clicked

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    have 2 attributes clickx and clicky and have them real. Then make a actor turn its alpha to zero and drag it so it covers the whole scene. Then in that actor have when touch is pressed change attribute click x to touch1x and change attribute clicky to touch 1 y.

    So whenever you touch anywhere on the screen clickx and clicky will be update to the last touch.
  • deheciledehecile Member Posts: 126
    sorry for more questions, but then, how do i save all that as date which i could go back and retrive later
  • deheciledehecile Member Posts: 126
    i seee now
Sign In or Register to comment.