Dollar500
|
  |
| Joined: 12 Jan 2013 |
| Total Posts: 504 |
|
|
| 07 Jun 2015 12:32 PM |
| I have a GUI that is in the perfect position on one computer, but on another computer, it is barely on the screen. How would I get it to be in the center on all computers? |
|
|
| Report Abuse |
|
|
KOzero
|
  |
| Joined: 11 May 2010 |
| Total Posts: 1411 |
|
|
| 07 Jun 2015 12:42 PM |
Do you know how the position property has 4 units for the 2D Guis? The first and 3rd value is a scale of the position of all screens from 0 to 1. The 2nd and 4th value basically offsets it in pixels,so what you will be using is the first and 3rd value so it will look something like this... SomeGui.Position = 2UDim.new(0.5,0,0.5,0) |
|
|
| Report Abuse |
|
|
|
| 07 Jun 2015 12:42 PM |
| gui.Position = UDim2.new(0.5,-gui.Size.X.Offset/2,0.5,-gui.Size.Y.Offset/2) |
|
|
| Report Abuse |
|
|