-
What do you want to achieve?
I want to be able to detect whether a player is using a phone or a tablet. This is not the same as checking to see if the player is on mobile. -
What is the issue?
I am unsure how I can approach this problem -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I was thinking about checking the player’s screen size to see if the screen is big or small. The problem is this may be inconsistent if some kind of large cellular device is considered a tablet rather than a phone (not sure if that might be a problem). There was a similar post regarding the question, but it doesn’t answer how to detect the difference between a phone vs tablet.
I am trying to hide one or the other depending on what size of the player’s screen is: