Auto-Hold on mobile devices

I create a top-down game that can be played on smartphones. The problem is when you touch/press a button (Movement buttons) then release it, It auto holds and the character continues to move because it’s continuously pressing even though I release the touch or I touch other buttons. For ex. I touch the left button to move the character to the left. When I remove my finger in that button, it continues to execute unless I press other button.
a

You need to add this condition:

2 Likes

Do you use the condition mouse/touch is down condition?

1 Like