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

It is possible to tell if a player is on their Ipod/Ipad?

Asked by 10 years ago

Is there a way to tell if a player is on an IoS/Mobile device?

1 answer

Log in to vote
1
Answered by
jobro13 980 Moderation Voter
10 years ago

Yup!

IsMobile = game:GetService("UserInputService").TouchEnabled == true

Pro tip: Use UserInputService.InputBegan to get special keys such as the Ctrl key (this has the same byte code as 2 - you can use UserInputService to distinguish from each other!)

Ad

Answer this question