Get the playback speed of the specified action||doc135556

September 20, 2022

Format

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

Description

Get the overall playback speed of the entity action.


Parameters

Variable name type Description
action string Action name


Value Returned

type Description
float Play speed


Code Samples

on the entity object clientmount script, get the overall playback speed of the entity action

local actionTimeScale = this:getActionTimeScale('run')