Event id for mouse or touch pointer movement. Calls the PointerMoveCallback.
-- Create a functionlocal pointerMoved = function(x, y) osrs.printf("Pointer moved to X: %i Y: %i", x, y)end-- Subscribe to the functionosrs.Events.subscribe(pointerMoved, osrs.Events.POINTER_MOVE) Copy
-- Create a functionlocal pointerMoved = function(x, y) osrs.printf("Pointer moved to X: %i Y: %i", x, y)end-- Subscribe to the functionosrs.Events.subscribe(pointerMoved, osrs.Events.POINTER_MOVE)
Event id for mouse or touch pointer movement. Calls the PointerMoveCallback.
Example