What’s the best way to disable mobile controls? It seems all the methods documented on the wiki don’t work… or am I missing something?
Just do TouchGui.Enabled = false
to disable it, then set it back to true
to re-enable it
8 Likes
You can try setting Player.DevTouchMovementMode
to Enum.DevTouchMovementMode.Scriptable
then back to Enum.DevTouchMovementMode. UserChoice
, meaning that the player character will not respond to controls unless you defined them in a custom script of yours.
2 Likes
I was trying this earlier and it didn’t seem to work, but now it is. Thanks anyways.
2 Likes
That method appears to have been deprecated or disabled. Either way, it doesn’t work anymore.
This ended up being the one that worked