Hide unit frame out of combat?

Is there any addon to hide my own unit frame when im not in combat?

You can do it with ElvUI, and likely other unit frame addons.

/run RegisterAttributeDriver(PlayerFrame, "state-visibility", "[combat]show;hide")

Drop it into https://addon.bool.no/ (without the /run part) if you want to have it always active.

1 Like

Oh, cool! Thanks!

Can i add mouseover-function also? So i can interact with it if i need to when out of combat?

Not easily.

I figured :stuck_out_tongue:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.