You can use sys.get_sys_info() to find out if the program is running as HTML5 or not. It returns a table, you’re looking for the value of key “system_name” to find out what kind of device is running the game.
2 Likes