DevTouchMovementMode sample code is broken

Reproduction Steps
Use the sample code from the DevTouchMovementMode documentation page: StarterPlayer.DevTouchMovementMode

Expected Behavior
It does what the documentation suggests.

Actual Behavior
It throws an error:

Insufficent permissions to set DevTouchMovementMode - Studio
The current identity (2) cannot setDevTouchMovementMode (lacking permission 5) - Client - LocalScript:4

Workaround
Not sure. Trying to find a way to disable the mobile UI temporarily and this is one of that solutions that probably would have worked if not for the error.

Issue Area: Engine
Issue Type: Other
Impact: Moderate
Frequency: Constantly

Hey thanks for the report! We have filed a ticket to our internal database and we’ll come back with an update when we’ll have one!

1 Like