OSRS Plugin API
    Preparing search index...

    Function objTypeId

    • Gets the type of the last active obj.

      Returns number

      the type ID of the last active obj.

      local type = osrs.ClientOp.objTypeId()