ObjectLootable

Returns if a WowGameObject is lootable or not.

ObjectLootable(--[[(1)]]objectReference) : true | false
  1. See Object Reference for more information on possible values.

Example

Check if the target can be looted.

local lootable = ObjectLootable('target')