dacha
    Preparing search index...

    Type Alias MouseControlEvent<T>

    MouseControlEvent: ActorEvent<
        Pick<
            CustomMouseEvent,
            "x"
            | "y"
            | "screenX"
            | "screenY"
            | "nativeEvent",
        >,
    > & T

    An event that MouseControlSystem dispatches on an actor, for a binding of its MouseControl. The name of the event is the eventType of the binding.

    It has the pointer position: x and y in world coordinates, screenX and screenY in pixels, and nativeEvent. See CustomMouseEvent. T is the type of the attrs of the binding.

    Type Parameters

    • T = Record<string, never>