Good day, people.
Something that may be apparently simple, but anyone got any idea on this?
I'm trying do something like this:
(pseudo-code)
touch the button;
object begins to move horizontally;
touch the button;
object stops moving;
What I'm tying to do does work with key down, mouse down or "is touching", but I want it to be:
touch to start moving and then touch to stop moving.
I tried doing this with 8-direction and platform
Any ideas? Thanks.
A sample capx is attached.
dropbox.com/s/uda716mvf6pb789/moveExample.capx
Thank you all again.