FGenericPlatformApplicationMisc::IsThisApplicationForeground

Returns true if the specified application has a visible window, and that window is active/has focus/is selected

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/GenericPlatformApplicationMisc.h

Include

#include "GenericPlatform/GenericPlatformApplicationMisc.h"

Source

/Engine/Source/Runtime/ApplicationCore/Private/GenericPlatform/GenericPlatformApplicationMisc.cpp

Syntax

static bool IsThisApplicationForeground()

Remarks

Returns true if the specified application has a visible window, and that window is active/has focus/is selected

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