app is hidden while in background

i have an applescript studio app that has the option of being run faceless and not faceless. my app also have an NSWindow subclass that makes the window transparent and titlebarless. when the app is faceless or not faceless the app hides when it is in the background. How can i make it so that the app is still visible in the background?

I’ve searched around for a while and found no answer. Thanks for any help.


Is “Hide on Deactivate” checked in the main window attributes?

ohhh…thanks, i have everything working now.