Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
How can I remove the Joystick and show it by event?

(+1)

Hi there!

You can use the following script calls:

To hide:

  • Eli.MobileControls.controlButton.parameters.enable = false
  • Eli.MobileControls.controlButton.removeFromScene()

To show:

  • Eli.MobileControls.controlButton.parameters.enable = true
  • Eli.MobileControls.controlButton.addOnScene()