Skip to content

MobileGamepad

The mobile gamepad is a virtual gamepad that appears on the screen when the engine is launched in mobile mode.

Properties

visible

visible: boolean, read-only.

Whether or not the mobile gamepad is visible.

Available since: Open Surge 0.6.1

Functions

fadeIn

fadeIn()

Makes the mobile gamepad appear smoothly.

Available since: Open Surge 0.6.1

fadeOut

fadeOut()

Makes the mobile gamepad disappear smoothly.

Available since: Open Surge 0.6.1