How to check if the player is using a mobile browser?

Hi,

I have a question please : is there a way to check if the user is playing on a mobile browser ?

I am creating a web game, and I would like to display game controls only for mobile players (desktop players will not see the virtual gamepad).

Thank you in advance for your answers.

1 Like

You should be able to check the user_agentin the sys.get_sys_info()

4 Likes

Thank you for your quick answer