dacha
    Preparing search index...

    Class MouseInputSystem

    Listens to the mouse and sends the MouseInput event on the world.

    The event has the pointer position in world coordinates and in screen pixels.

    Options:

    • useWindow: listens on window.
    • windowNodeId: the id of the element to listen on when useWindow is off.

    Put MouseInputSystem before MouseControlSystem and before your own systems that read MouseInput.

    Input

    Hierarchy (View Summary)

    Index
    systemName: string

    The name the configuration uses for the system.

    DefineSystem sets it, so a game usually does not assign it.