How do I pause the whole level through blueprints or C++?

I know that I can pause the level immediately by clicking on the Pause button in the Editor. The issue arises when I am playing on a standalone build of the game, and not inside the Editor.

I would like to pause the level from inside the standalone build of the game. Pausing, as in completely pausing everything, including physics simulation, timers, timelines, matinee actors, etc., even the game itself.

Blueprint scripting, or C++ scripting, are both welcomed. I can do either one, whichever is more readily available.

Thanks in advance.

Have you tried the Blueprint node, Set Game Paused?

That definitely worked. Thanks.

For C++ equivalent:

UGameplayStatics::SetGamePaused(bool Value);