My game movement is done by touching on the screen on the target location. I have added an action button to the game which the action is only allow when the player is not moving. When I touched on the button, the player will move to the touched location instead of doing the action. This only happens with touch, but if I click the button on the computer, unlike the touching, it does the action instead of moving. It's like it goes through the button only when touching and not clicking.
This...
Touches going through UI
This...
Touches going through UI