How to make the game freeze without alerts or prompts

How to make the game freeze without alerts or prompts because I wanna make a Friday night funkin kinda pause screen

try “gotoAndStop(whatever_frame_you’re_on)”

I know but its not that

Read the text up there again

So, If you think about what makes your game move you will have the answer… If you have multiple updates scripts, you can define a global boolean project variable and put it in every update script within an if statement…

if ( project.inPause == false) {
// Update code here…
}

ok thanks!