onStateAnimationChange
This event is triggered when a player changes their state animation.
Parameters
Name | Type | Description |
---|---|---|
anim | number | The new animation state of the player |
Example
engine.localPlayer.events.on('onStateAnimationChange', anim => {
console.log('new animation state', anim);
});
Available on: Client