Is there any blueprint function to disable sleep mode for mobile? Currently would need to set it manually on the device itself which isn’t ideal.
In Blueprint there is a “Control Screensaver” node. Add this with “Allow Screen Saver” checkbox off.
From code, use FPlatformMisc::ControlScreensaver(FPlatformMisc::EScreenSaverAction::Disable);
From blueprints, simply search controlscreensaver and it should pop up for you.