Skip to content

world · reference

showMobileControls·

Shows on-screen arrow and space buttons, so the game plays on a phone.

use
showMobileControls(spaceButtonVisible, dpadVisible, dpadFourWay, mobileOnly)
spaceButtonVisible
the block starts with true
dpadVisible
the block starts with true
dpadFourWay
the block starts with true
mobileOnly
the block starts with true
kind
a statement: a line of its own
drawer
World, in the code room's blocks

player two knows this block

Ask it how showMobileControls works in your game.