Anyone have the script that doesn't let you go out of camera view?

I saw this game and when you oppened the .blend it was in camera view and you couldn’t go out of camera view. I can’t seem to find the script or whatever made it do that. Does anyone know? Thanks.

I answered that on your other thread:

It’s not that script. it’s like when you go in camera view on the .blend you can then click the middle mouse button or whatever to get out of the camera view. this script basically doesn’t let you go out of the camera view so that you can’t mess with the .blend and you can only play the game.

Or if someone knows another script that makes it so you can only play the game but not mess with the .blend