Lua API
On this page

Animation

Inherits from

Fields:

DurationSeconds number

read only

EndsAt DateTime

read only

IsStarted boolean

read only

Motion MotionCommand

read only

Name string

read only

Stance MotionStance

read only

StartedAt DateTime

read only

TimeLeft TimeSpan

read only

Events:

Constructors:

New(durationSeconds: number, name: string, serverActionSequence: number, stance: MotionStance, motion: MotionCommand) :

Parameters:
NameTypeDefaultSummary
durationSecondsnumber
namestring
serverActionSequencenumber
stanceMotionStance
motionMotionCommand

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

IsFinished() : boolean

Returns:boolean

Reset() : nil

Returns:nil

Start() : nil

Returns:nil

ToString() : string

Returns:string