FGenericPlatformApplicationMisc::PreventScreenSaver

Prevents screen-saver from kicking in by moving the mouse by 0 pixels.

Windows
MacOS
Linux

References

Module

ApplicationCore

Header

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

Include

#include "GenericPlatform/GenericPlatformApplicationMisc.h"

Syntax

static void PreventScreenSaver()

Remarks

Prevents screen-saver from kicking in by moving the mouse by 0 pixels. This works even on Vista in the presence of a group policy for password protected screen saver.

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