Godot Version
4.3-stable
Question
Is there a way to find out the type of device (PC/Phone) on which the program is running?
4.3-stable
Is there a way to find out the type of device (PC/Phone) on which the program is running?
You could use OS.has_feature(flag)
to check for flags like "android"
, "mobile"
or such. Keep in mind that these are set at build time, rather than being checked at runtime.
Use OS.get_name()
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.