Returns whether a unit is in the player's area of interest


See also Unit functions.

Signature:

isVisible = UnitIsVisible("unit")

Arguments:

  • unit - A unit to query (string, unitID)

Returns:

  • isVisible - 1 if the unit is is in the player's area of interest; otherwise nil (1nil)