Disabling Crosshair for Menu

So, I’m trying to disable the crosshair script I have in place whenever the player presses the “Esc” key. The Esc key is also bound to my PauseMenu. The problem is that I’m working on a First Person project, where you have a crosshair. I want to be able to have my mouse cursor when in the Menu, and crosshair everywhere else. Thanks in advance!

You might want to post some code snippets for reference. Specifically, the cross hair script and the code that’s processing the input (the Esc key press).