UGameplayStatics::SetGamePaused

Sets the game's paused state

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/GameplayStatics.h

Include

#include "Kismet/GameplayStatics.h"

Source

/Engine/Source/Runtime/Engine/Private/GameplayStatics.cpp

Syntax

static bool SetGamePaused
(
    const UObject * WorldContextObject,
    bool bPaused
)

Remarks

Sets the game's paused state

Returns

Whether the game was successfully paused/unpaused

Parameters

Parameter

Description

bPaused

Whether the game should be paused or not

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss