Is there a way to detect players in Esc Menu?

Hi, as the title suggests I want to know if theres a hacky/non hacky way to check if a player is in the Esc Menu, and if you can detect it on mobile/console.

(If you don’t know what I mean heres an image of the menu)

Use case:
I’m trying to hide my UI when player is in the menu for aesthetic reasons. You can see Roblox automatically does this for the chat and Roblox buttons on the right, and the leaderboard button on the left.
f7b3efc47a41f35e58cd8d43afed2e77

2 Likes

Use GuiService, it has events for what you’re trying to achieve:

13 Likes