Floating Player Events

The player allows for a user to update the floating state of the player dynamically.



.on('float')

Fires when a floating player starts and stops floating

{
    "floating": true,
    "type": "float"
}
Property Description
floating boolean Floating state of the player

Possible Values:
  • true: Floating player
  • false: Player redocked to its original original position
type string Category of player event

This is always float for this event.