How to Destroy Frame via LUA?

#0 - Feb. 19, 2007, 10:58 a.m.
Blizzard Post
Hello,

I've created frame via createFrame function in lua and i want to remove it when i no longer need it. I know frame ID etc... but don't know which function I should use :D

There's no such thing as this:Destroy();

:)
#2 - Feb. 19, 2007, 2:31 p.m.
Blizzard Post
Hmm, don't think you can... workaround would be to make 0*0 big and resuse it for the next frame you need and/or make it invisible..