Set the action playback speed||doc135553

September 20, 2022

Format

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

Description

Sets the overall playback speed of the entity action.


Parameters

Variable name type Description
scale float speed


Code Samples

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

local scale = 2
this:setBaseActionScale(scale)