Guys good morning,
I'm wanting to make it, when the player clicks the button I made on the screen, it moves with the setvelocity ...
Thank you very much
The forum is read-only. New threads, replies and edits are disabled.
Clicking the button and moving character
Hi
Assuming you have an object called player, in your button's onClick function (or onMouseDown if you prefer) you can do something like this:
_.player.setVelocity(100, -20);

