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
window
windowNodeId
Put MouseInputSystem before MouseControlSystem and before your own systems that read MouseInput.
MouseInputSystem
MouseInput
Input
Static
The name the configuration uses for the system.
DefineSystem sets it, so a game usually does not assign it.
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 onwindow.windowNodeId: the id of the element to listen on whenuseWindowis off.Put
MouseInputSystembefore MouseControlSystem and before your own systems that readMouseInput.See
Input