Determining which platform is running

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By juankz
:warning: Old Version Published before Godot 3 was released.

How can I know which platform is running my game? For example if it is running on desktop or android so I can apply different settings.

:bust_in_silhouette: Reply From: Nutr1z

Hi,

you can use OS.get_name(), see OS doc