self:resume_animation

Shared

Resumes a previously paused animation on the model


Syntax

local status = self:resume_animation()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Resume currently playing animation on a model
local entity = core.model.create("character")

entity:play_animation("idle")
entity:pause_animation()
entity:resume_animation()

On this page