Hiding the Finder

I’ve written a simple script that runs a “full screen” interactive application.
However, when it runs I get the Finder over it, including menu bar and any
open applications.
Is there a way of writing the script so the menu bar, etc is not there, just my
full screen app.
Thanks