PlayerLocomotion.ToggleLocomotion(boolean value)
Enables or disables all the locomotion for player. Disabling and enabling does not override previously set individual values.
Parameters:
Name | Type | Description |
---|---|---|
value | boolean | True to enable, false to disable. |
Usage
---@type PlayerLocomotion
local playerlocomotion;
---@type boolean
local value;
playerlocomotion.ToggleLocomotion(value)