The AutoJumpEnabled property sets whether the character will automatically jump when hitting an obstacle on a mobile device.
This property is copied from the
StarterPlayer to a
Player when they join the game. Following that. the value of this property is copied to
Humanoid/AutoJumpEnabled property of the
Humanoid on spawn. In other words, it is possible to set the auto-jump behavior on a per-character, per-player and per-game basis using these three properties.
This code sample is meant for a TextButton. It allows the player to toggle the auto-jumping behavior while on a mobile device.