Gets whether the action sets the playback speed||doc135558

September 20, 2022

Format

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

Description

Returns whether the specified action has a playback speed set.


Parameters

Variable name type Description
action string Action name


Value Returned

type Description
boolean Whether to set the playback speed


Code Samples

on the entity object clientmount script, to determine whether the action 'run' has set the playback speed

local isActionInTimeScale = this:isActionInTimeScaleMap("run")