I must be using this wrong. It goes away fine but never comes back. I’ve read through a bunch of threads but am still not understanding why this doesn’t work. I am creating this function just inside the create panel function at the very end. What am I missing or what should I read up on… There is probably some fundamental concept I am missing…
Thanks for sticking with me. I did this at the bottom of my panel function literally before it ends.
function togglemypanel ()
gui.EnableScreenClicker( false )
gui.EnableScreenClicker( true )
I needed to be able to click the panel so I have the gui.EnableScreenClicker set there as well, and at the beginning when I create the panel (because I’m not using the toggle button to actually ‘create’ the panel).
Future whoever is trying to do this, put this function right at the end (just before the last “end” of your panel function)
Now I will put some SEO stuff so it won’t be so fucking hard to find this because all the other threads weren’t as clear as I was looking for.
how do I make toggle derma panel button press hide SetVisible show.
not, the SetMouseInput function never worked for me but gui.Enablescreenclicker worked fine everytime.