Class: ScriptEventEmitted
Defined in: livelink.js/sources/scene/ScriptEvents.ts:48
The event that is fired when an entity emits a script event.
Extends
Event
Properties
Property | Modifier | Type | Description |
---|---|---|---|
emitter_entity | readonly | Entity | The entity that emitted the script event. |
data_object | readonly | ScriptDataObject | The data object associated with the script event. |
Accessors
target_entities
Get Signature
get target_entities(): Promise<(null | Entity)[]>
Defined in: livelink.js/sources/scene/ScriptEvents.ts:78
The entities that are targeted by the script event.
Returns
Promise
<(null
| Entity
)[]>
A promise that resolves to an array of entities or null if the entity could not be found.