How to detect if html5 game runs on mobile browser?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Almetov_Ainur
:bust_in_silhouette: Reply From: vkbsb

This should give you some idea of how to do it.

OS.has_feature(“mobile”)

https://docs.godotengine.org/en/stable/getting_started/workflow/export/feature_tags.html