OSRS Plugin API
    Preparing search index...

    Enumeration POINTER_DRAG

    Event id for pointer drag events. Calls the PointerDragCallback.

    -- Create a function
    local pointerDrag = function(pointer, x, y)
    osrs.printf("Pointer moved to X: %i Y: %i", x, y)
    end
    -- Subscribe to the function
    osrs.Events.subscribe(pointerDrag, osrs.Events.POINTER_DRAG)