Jump to content

How can i detect a button is pressed, not just clicked?


danbruegge
 Share

Recommended Posts

Then I advice you to use global var containing the state of the button and change its value in the listeners of the onInputDown and onInputUp signals.

 

So you can make use of this var in the update event of the game.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...