Api > PlayerLocomotion > IsLocomotionEnabled()
PlayerLocomotion.IsLocomotionEnabled()⚓︎
Checks if the locomotion is enabled for the player. Returns true if the locomotion is enabled.
Returns:⚓︎
type | Description |
---|---|
boolean | true if the locomotion is enabled. |
Usage⚓︎
---@type PlayerLocomotion
local playerlocomotion;
local val0 = playerlocomotion.IsLocomotionEnabled()