FApp::IsGame

Checks whether this application is a game.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/App.h

Include

#include "Misc/App.h"

Syntax

static bool IsGame()

Remarks

Checks whether this application is a game.

Returns true if a normal or PIE game is active (basically !GIsEdit or || GIsPlayInEditorWorld) This must NOT be accessed on threads other than the game thread! Use View->Family->EnginShowFlags.Game on the rendering thread.

Returns

true if the application is a game, false otherwise.

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