onLeaveSensor
This event is triggered when a player leaves a sensor.
Parameters
Name | Type | Description |
---|---|---|
player | PlayerManager | The player that entered the sensor. |
Example
object.events.on('onLeaveSensor', player => {
console.log('Player left sensor', player);
});
Available on: Client