Skip to main content

PlayerLocomotion.ToggleTurn(boolean value)

Enables or disables turning for the player.

Parameters:

NameTypeDescription
valuebooleanTrue to enable, false to disable.

Usage

---@type PlayerLocomotion
local playerlocomotion;

---@type boolean
local value;


playerlocomotion.ToggleTurn(value)