gain speed||doc135444

September 20, 2022

Format

 Entity:getSpeed() 
  • The class to which the function belongs:Entity

Description

Get the current movement speed of the current entity.


Value Returned

type Description
float current movement speed


Code Samples

on the client side of the objectmount script, get the current movement speed of the current entity

local speed = this:getSpeed()