Model
self:pause_animation
Shared
Pauses the currently playing animation on the model
Syntax
local status = self:pause_animation()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
local entity = model.create("character")
entity:play_animation("idle")
entity:pause_animation()