Is it possible to get a users resolution?

I want to gather the users display resolution, to fit UIs according to the resolution. I’m unsure if this is possible though.

(i.e: if User.Resolution == Enum.ResolutionSize.1920x1080 then)

Yes.

Camera.ViewportSize

Is one way. Another way to get the game window size is in the Mouse class. ScreenGui.AbsoluteSize will get the actual screen resolution of the user’s device.

1 Like