Help with Beginner Game

Hey
For some reason im trying to make a simple game over screen when the player’s insanity reaches 100% but when it does, the UI text and buttons do appear but for some reason when i try to click on those buttons, they just let me click in the game, and im able to move around and switch my flashlight on/off. Does anyone know of a fix?

can you provide a pic for the problem

This is the Unity Hub forum. Your post isn’t related to the Hub.

There are dedicated UI forums, please post in them if you’re asking about how UI (UGUI, UIToolkit, IMGUI etc).