OSRS Plugin API
    Preparing search index...

    Enumeration POINTER_MOVE

    Event id for mouse or touch pointer movement. Calls the PointerMoveCallback.

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