RightClickObject
Right click an object.
RightClickObject(--[[(1)]]objectReference) : true | false
- See Object Reference for more information on possible values.
Example
Interact with dead unit.
if UnitIsDeadOrGhost('target') then RightClickObject('target')end