Event id for pointer drag events. Calls the PointerDragCallback.
-- Create a functionlocal pointerDrag = function(pointer, x, y) osrs.printf("Pointer moved to X: %i Y: %i", x, y)end-- Subscribe to the functionosrs.Events.subscribe(pointerDrag, osrs.Events.POINTER_DRAG) Copy
-- Create a functionlocal pointerDrag = function(pointer, x, y) osrs.printf("Pointer moved to X: %i Y: %i", x, y)end-- Subscribe to the functionosrs.Events.subscribe(pointerDrag, osrs.Events.POINTER_DRAG)
Event id for pointer drag events. Calls the PointerDragCallback.
Example