Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Detect what type of device a player is using?

Asked by 6 years ago

I couldn't find any information about this online but does anyone know how one could detect if a player was playing on mobile or not?

1
Some of these properties should help: http://wiki.roblox.com/index.php?title=API:Class/UserInputService mattscy 3725 — 6y

1 answer

Log in to vote
1
Answered by 6 years ago
Edited 6 years ago

You can this to check the players device: http://wiki.roblox.com/index.php?title=API:Class/UserInputService

Inside this service, you can use the propertires like TouchEnabled to check if they are on an iPhone or an iPad.

You can also use the property, GamepadEnabled to check if they are an console.

0
Thank you! Michael_TheCreator 166 — 6y
Ad

Answer this question