Are there any commands I might be using to hide or show the buttons? by events
Viewing post in 09/08/2021 - Stable version! comments
Hi there!
On regular and Dpad type buttons, you can specify a condition for the buttons to show on the plugin parameter.
If you want it to not show on the maps, you can use this:
return !([10, 20, 35].includes($gameMap.mapId()))
This will return true, if the current map id is not any of those listed inside the brackets. So just keep listing the map ids you do not want to show the buttons.
Another way is hide/show by using script calls:
Eli.MobileControls.hideButtons()
or
Eli.MobileControls.showButtons()