Skip to main content

onStreamOut

This event is triggered when an entity is streamed out.

Parameters

NameTypeDescription
entityEntityManagerThe entity that has been streamed out.

Example

engine.players.events.on('onStreamOut', player => {
console.log('A player has streamed out: ' + player.id);
});

Available on: Client Server