View Single Post
09-01-17, 10:16 AM   #1
Terenna
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Jun 2016
Posts: 105
Close Frame if you escape/click outside of it

Hey all,

I'm coding an addon that shows a frame with secure buttons on it that let you cast poisons on those weapons. The idea is you right click the respective weapon in the player frame and the frame appears. Currently the frame will open when I right click the weapon as expected, however, I can't figure out how to hide it when I click outside of the frame or hit escape.

Any suggestions would be much appreciated.
  Reply With Quote