dacha
    Preparing search index...

    Interface AddActorEvent

    An actor starts matching an ActorQuery: it gets the components of the filter, or it is added to the scene with them.

    The query dispatches it on itself, immediately. Listen on the query, not on the scene.

    Event name: AddActor from dacha/events.

    query.addEventListener(AddActor, ({ actor }) => {
    // set up the new actor
    });

    Hierarchy (View Summary)

    Index
    actor: Actor

    The actor that started matching the query.

    currentTarget: EventTarget

    Current event target

    stopPropagation: () => void

    Function to stop the event propagation

    target: ActorQuery

    Target of the event

    type: EventType

    Type of the event