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

Is it possible to figure out what kind of platform a user is on?

Asked by 8 years ago

Kind of explained in the title. Want to be able to use for mobile ads.

1 answer

Log in to vote
3
Answered by 8 years ago

There is no direct way of finding the player's device, however if you're showing mobile ads then it doesn't error on devices that don't support it, it just gives a warning message saying that ads are only supported on mobile ROBLOX. There are a few properties of UserInputService that could help determine whether or not the user is on a touch screen device.

Ad

Answer this question