Skip to main content

PlayerLocomotion.SetWalkingSpeed(number value)

Sets the walking speed of the player.

Parameters:

NameTypeDescription
valuenumbernew walking speed [0.0-10.0]

Usage

---@type PlayerLocomotion
local playerlocomotion;

---@type number
local value;


playerlocomotion.SetWalkingSpeed(value)

Extra Detail

This variable is a baseline for, but not the actual walking speed. Actual walking speed depends on the Players comfort preference.