Hey,
I have a draggable sprite, and i want to change its colour when its being dragged. Whats the most efficient way?
Thanks.
Develop games in your browser. Powerful, performant & highly capable.
Give the sprite a second frame or second animation whith the other colour.
sprite is dragging
set frame (or set animation)
Thank you..
Hmm, as soon as i run the program the colour changes straight away, it should wait until i interact with it.
set animation speed to 0
Thanks korbaach..
I only want the colour to change while the object is being touched, and to revert back to its original colour when its not, how do i do that?