Mask everything off stage

Hello, anyone know of a tutorial on how to mask everything that is off stage?

I thought all you had to do was…

make a layer on top…
put a big rectangle on top… and make it the same size as the stage…

then right click that layer… and select mask…

any tips?

thanks
kj