BringWindowToForeground

Bring a window to the foreground

BringWindowToForeground(): boolean

Example

We died, look!!

if UnitIsDeadOrGhost('player') then BringWindowToForeground() end