System information

Get information about the system and device running the game.

Conditions

Device has a touchscreen
Check if the device running the game has a touchscreen (typically Android phones, iPhones, iPads, but also some laptops).

Is a mobile device
Check if the device running the game is a mobile device

Is the game running as a preview
Check if the game is currently being previewed in the editor. This can be used to enable a “Debug mode” or do some work only in previews.

Is WebGL supported
Check if GPU accelerated WebGL is supported on the target device.


This page is an auto-generated reference page about the System information feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.