Contains details about an animation's current status. Returned by AnimClip.getStatus.

interface AnimClipStatus {
    direction: "forward" | "backward";
    inProgress: boolean;
    isPaused: boolean;
    isRunning: boolean;
}

Properties

direction: "forward" | "backward"

the current direction of the animation

inProgress: boolean

true only if the clip is in the process of playback (whether running or paused).

isPaused: boolean

true only if the clip is in the process of playback and paused.

isRunning: boolean

true only if the clip is in the process of playback and unpaused.