how to put touch screen controls on android games

i have mad e html/android game and i want to add touch controls for android.
pls halp i dont know how :cry: :confused:

What do you mean “touch control”?

If you have a look at the platformer example comes with GD4 it is including touch control. But it is simple.
Add a layer, set the position to be above the base layer. Add the buttons to the top layer and add the events to the buttons to do something if the mouse/touch is down and mouse/touch is on the button sprite…

You have to enable multitouch too, otherwise if you keep pressed the jump button (talking about the platform template), you won’t be able to move.

WHY FLAGGED???