PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

DevTouchMovementMode

DevTouchMovementMode

Overrides the movement mode of players who are playing on touch devices.


Enums

Name Value Description

UserChoice

0

The player’s character will moved based on the user’s settings.

Thumbstick

1

The player’s character is controlled with a virtual thumbstick that moves with the player’s finger. Jumping is controlled with a separate button.

DPad

2

The player’s character is controlled with a virtual dpad. The dpad consists of directional buttons with a jump button in the middle.

Thumbpad

3

The player’s character is controlled with a virtual thumbpad that stays stationary as the player’s finger moves. Jumping is controlled with a separate button.

ClickToMove

4

The player’s character will attempt to move to a location in the world when the player taps a location.

Scriptable

5

The player will not respond to default controls; any character movement must be defined in custom scripts.

DynamicThumbstick

6

The player’s character is controlled with a virtual thumbstick that appears when they touch the lower portion of the screen. Jumping is controlled with a separate button. Good for portrait mode and one handed play.