getting x and y of mouseclick on actor?
Posted: Thu Oct 06, 2011 3:44 pm
i´m struggling with this currently.
i have an actor that is a button. now, when i click it i
want to check if the click is > or < (height/2) of actor.
any ideas?
EDIT: reason i´m asking is, i wanna "seperate" one button actor into two buttons. (but with one image).
i have an actor that is a button. now, when i click it i
want to check if the click is > or < (height/2) of actor.
any ideas?
EDIT: reason i´m asking is, i wanna "seperate" one button actor into two buttons. (but with one image).