Vital.sandbox
Model

self:is_animation_playing

Shared

Retrieves whether an animation is currently playing on the model


Syntax

local result = self:is_animation_playing()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolresulttrue if an animation is playing, false otherwise

Examples

Check whether an animation is currently playing
local entity = model.create("character")

engine.print("info", "Animation playing:", entity:is_animation_playing())

On this page