Hi Community,
I have a sprite in middle of layout (stationary).
What I'm trying to do is, only rotate sprite>
if mouse.x > sprite = rotate clockwise
else
mouse.x < sprite = anit-clockwise.
but the tricky bit is calculating speed... so if mouse is closer to sprite, spin slow... if mouse is over sprite = no spin.... else, if further... spin fast.
I guess I'm comparing 2 variables....
Hope this makes sense.
Thanks,
Roberto