How Hide, Block, and turn camera on clicking right mouse button?

You are very welcome.
Why do you need the Gate?