This property can only be read from. Attempting to write to it will cause an error.
This item is not replicated across Roblox’s server/client boundary.
ViewportSize describes the dimensions, in pixels, of the client’s viewport.
- This property ignores the GUI inset applied by the top bar, meaning the center of the screen can be found at precisely at 50% of the ViewportSize in both directions
- You can find the position of a
DataType/Vector3in the world on the viewport using