OSRS Plugin API
    Preparing search index...

    Enumeration ON_TARGET_LEAVE

    Event id for deselecting a targetable spell from the spell list. Calls the OnTargetLeaveCallback.

    -- Create a function
    local targetLeave = function()
    osrs.print("Deselected a targetable spell from the spell list")
    end
    -- Subscribe to the function
    osrs.Events.subscribe(targetLeave, osrs.Events.ON_TARGET_LEAVE)