Model
self:get_animation_speed
Shared
Retrieves the current playback speed of the model's animation
Syntax
local speed = self:get_animation_speed()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | speed | Current animation playback speed multiplier |
Examples
local entity = model.create("character")
engine.print("info", "Animation speed:", entity:get_animation_speed())