Frame:GetMouseoverUnit

Gets the unit that is being represented by this frame.

Usage:

unit = Frame:GetMouseoverUnit()
ParameterTypeDatatypeDescription
unitresultstringThe current mouseover unit. May be nil if there is no mouseover unit.