Skip to content

Api > PlayerLocomotion > SetWalkingSpeed()


PlayerLocomotion.SetWalkingSpeed(number value)⚓︎

Sets the walking speed of the player.

Parameters:⚓︎

Name Type Description
value number new 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.