Vital.sandbox
Model

self:pause_animation

Shared

Pauses the currently playing animation on the model


Syntax

local status = self:pause_animation()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

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

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

On this page