Search results
26 gru 2020 · One important feature is being able to find what device a player is using. For example, you might want touchscreen buttons for cars, or have less advanced GUIs for certain devices. Anyway, this is how you can detect it: local GuiService = game:GetService("GuiService") local UserInputService = game:GetService("UserInputService")
- The Most Accurate Way To Detect The Player's Device - Roblox
I want to know the most accurate way to detect what device a...
- The Most Accurate Way To Detect The Player's Device - Roblox
3 lis 2022 · I want to know the most accurate way to detect what device a player is using, whether the player is on mobile, iPad/tablet, or PC? Some people have said UserInputService:GetLastInputType().
8 lis 2021 · You can use the AbsoluteSize property of a ScreenGui instance to determine the resolution of the native device, from there it should be relatively trivial to ascertain the type of device being used. Phone, Tablet, PC, Xbox etc.
6 mar 2019 · I’m trying to find the best and most efficient way of finding out what platform the player is on. I am aware that Roblox doesn’t give developers an easy read-only value that says their platform. Some people check through detecting a gamepad being plugged in, touch enabled, etc.
Beginner's Guide to Detecting if Player is using Phone or Desktop. In this lesson we cover ReplicatedStorage, Module, UserInputService, StarterCharacterScrip...
24 sie 2021 · A better solution would be to do something such as this in a LocalScript, and optimizing accordingly: local GuiService = game:GetService("GuiService") local UserInputService = game:GetService("UserInputService")
Edit this world: https://www.roblox.com/games/4462829138/GUI-Platform-TestCode:local ismobile = game:GetService ('UserInputService').TouchEnabledlocal isconso...