Most mouse events would be processed by loitsu. Loitsu would calculate what entity the mouse is hovering over currently. Scripting can then listen to these events through methods.
(Although a get mouse world pos, and screen pos function in scripting would also be useful)
Most mouse events would be processed by loitsu. Loitsu would calculate what entity the mouse is hovering over currently. Scripting can then listen to these events through methods.
(Although a get mouse world pos, and screen pos function in scripting would also be useful)