Toggle Menu

Hello, im creating a menu and want to know how do i make it so the menu is toggle like when im holding G then menu opens

You could create the menu and then hide it. Then use “PlayerButtonDown” and “PlayerButtonUp” hooks to show/hide it.

I am not sure “PlayerButtonDown/Up” gets called when you’re in a menu. If it’s not then you can check with input.IsButtonDown() in the Think() function of the panel

Good luck :slightly_smiling_face: