Creating a 2D robort game, I need help

I need a button, when i press a button it should the character should move.
but it move once. So if i use clock, when button press clock enable true . no option to be false.

i want to create a joy stick type of button for my game.
when button press character move, when i remove pressing button character stop moving.

You can use these 2 button events

image

2 Likes

It work good , but how can i saw button over the canvas. without disturbing the game.
like this.
Screenshot 2022-04-05 at 18-27-49 mini militia game - Google Search
floating type of .