Skip to content

System information Reference

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 (phone or tablet on iOS, Android or other mobile devices). The game itself might be a web game or distributed as a native mobile app (to check this precisely, use other conditions).

Is a native desktop app
Check if the game is running as a native desktop app.

Is a native mobile app
Check if the game is running as a native mobile app (iOS or Android app).

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.