Lua API
On this page

MoveToStatePack

Inherits from

A set of data related to changing states with sequences

Fields:

Contact number

Whether the player has contact with the ground, or if we are in longjump_mode(1 = contact, 2 = longjump_mode)

ObjectForcePositionSequence number

The forced position sequence value for the object

ObjectInstanceSequence number

The instance sequence value for the object (number of logins for players)

ObjectServerControlSequence number

The server control sequence value for the object

ObjectTeleportSequence number

The teleport sequence value for the object

Position Position

Position data

RawMotionState RawMotionState

Raw motion data

Methods:

GetPropertyKeys() : string[]

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

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string