Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FApp
Description
Checks whether this application is currently running as a game or other packaged application, and is not acting like an editor. In an editor build, this changes based on what the game thread is doing for Play In Editor so cannot be reliably accessed from worker threads.
Returns true if a normal or PIE game is active, including a dedicated server. Use IsRunningGame if you want to check what the process was launched as and not the current state.
| Name | IsGame |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/App.h |
| Include Path | #include "Misc/App.h" |
static bool IsGame()
true if the application is currently acting like a game, false otherwise.