touch actor problem,thanks a lot

hufoehufoe Member Posts: 1
edited November -1 in Working with GS (Mac)
i hope to make
there is only one actor in the scene,
when i touch a part of the actor then read a attribute
when i touch out side of the part of the actor then read another attribute.
how to do it,could it be achieve?

Comments

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    When actor receives and event touch is pressed and attribute devices.mouse.position.x is equal or greater than self.position.x+1

    then do the opposite for the other side.

    Ace
Sign In or Register to comment.