Making frame able to be clicked through
I've created a basic custom health/mana bar as my first simple addon. I've been able to figure out how to make it movable and how to take in commands to make it lockable/unlockable.
However I'd love to be able to make it so when the bar is locked, when you click on it the mouse takes no effect and will act as usual (IE allowing you to either strafe or move the camera around).
I think I need to use Frame:EnableMouse(enableFlag) where the enableFlag is either true or false...however it does not seem to be working...
Am I simply using the function wrong?
|