Opacity of player portrait? and click through?

How do I change the opacity of player portrait? and click through? How do I change the opacity of the player portrait and enable click through? If I can’t enable the opacity, how do I enable click through?

/run PlayerFrame.PlayerFrameContainer.PlayerPortrait:SetAlpha(0.5)

Clickthtough is problematic because the portrait sits over part of the UnitButton frame that controls unit clicking (targeting selection, right click menu)

https://warcraft.wiki.gg/wiki/API_Frame_SetPropagateKeyboardInput

1 Like

You can make it click-through with this command:

/run PlayerFrame:EnableMouse(false)

1 Like