Skip to main content

onEntitySelected

This event is triggered when an entity is selected.

Parameters

NameTypeDescription
intersectsIntersectsResultThe intersection result of selection

Example

engine.events.on('onEntitySelected', intersects => {
console.log('Entity selected:', intersects);
});

Available on: Client