PlayerLocomotion.ToggleWalking(boolean value)
Enables or disables the walking of the player. The dashing is also disables when the walking is disabled.
Parameters:
Name | Type | Description |
---|---|---|
value | boolean | True to enable, false to disable. |
Usage
---@type PlayerLocomotion
local playerlocomotion;
---@type boolean
local value;
playerlocomotion.ToggleWalking(value)