Model
self:is_animation_playing
Shared
Retrieves whether an animation is currently playing on the model
Syntax
local result = self:is_animation_playing()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if an animation is playing, false otherwise |
Examples
local entity = model.create("character")
engine.print("info", "Animation playing:", entity:is_animation_playing())