PlayAnimationOptions Interface

Contains additional options for how an animation is played.

Properties

blendOutTime

blendOutTime?: number;

Amount of time to fade out after an animation stops.

Type: number

controller

controller?: string;

Specifies a controller to use that has been defined on the entity.

Type: string

nextState

nextState?: string;

Specifies the state to transition to.

Type: string

players

players?: string[];

A list of players the animation will be visible to.

Type: string[]

stopExpression

stopExpression?: string;

Specifies a Molang expression for when this animation should complete.

Type: string