Api > PlayerLocomotion > ToggleDashing()
PlayerLocomotion.ToggleDashing(boolean value)⚓︎
Enables or disables dashing for the player. This has no effect on walking.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
value | boolean | True to enable, false to disable. |
Usage⚓︎
---@type PlayerLocomotion
local playerlocomotion;
---@type boolean
local value;
playerlocomotion.ToggleDashing(value)