Fixed the missing "not" in my original post.
Originally Posted by p3lim
It's possible to change the attributes on the frames, so you could for example only click the frame if you're holding down shift.
Lua Code:
PlayerFrame:SetAttribute('*type1', nil) PlayerFrame:SetAttribute('shift-type1', 'target')
|
That doesn't affect the frame's mouse-interactability, though. You still can't click through the frame. All the click attributes do is change what happens when you click on the frame. Using the above code, clicking on the frame without holding Shift would simply create a "dead zone" where clicks did nothing at all.
A better overall solution might be to simply move the frames to some part of the screen you aren't accidentally clicking all the time.