Garry's Mod Wiki

CLuaLocomotion:GetDesiredSpeed

  number CLuaLocomotion:GetDesiredSpeed()

Just Added

This was just added in the latest version (2022.06.08). It might only be available on the Dev Branch right now.

Description

Returns the desired movement speed set by CLuaLocomotion:SetDesiredSpeed

Returns

1 number
The desired movement speed.