Josherino
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 3261 |
|
|
| 08 Aug 2016 03:11 PM |
like people have different sized screens
SIGN HERE! [ https://forum.roblox.com/Forum/ShowPost.aspx?PostID=195201245 ] https://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=34254796 R$48,218 |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 08 Aug 2016 03:14 PM |
gui.Position = UDim2.new(0,0,1,-gui.AbsoluteSize.Y)
|
|
|
| Report Abuse |
|
|
ByDefault
|
  |
| Joined: 25 Jul 2014 |
| Total Posts: 3197 |
|
|
| 08 Aug 2016 03:14 PM |
| Set the position to {0, 0},{1,-FrameSizeY} |
|
|
| Report Abuse |
|
|
Josherino
|
  |
| Joined: 11 Nov 2012 |
| Total Posts: 3261 |
|
|
| 08 Aug 2016 03:16 PM |
Thanks! May I ask why the '1' is there?
SIGN HERE! [ https://forum.roblox.com/Forum/ShowPost.aspx?PostID=195201245 ] https://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=34254796 R$48,218 |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 08 Aug 2016 03:25 PM |
set the position of the gui to 100% of the screen. So the gui will entirely off the screen. Then simply subtract the position by the size of the gui and wala.
|
|
|
| Report Abuse |
|
|
|
| 08 Aug 2016 03:57 PM |
UDim2.new(XScale,XPixels,YScale,YPixels)
The way UDim2 works:
Scale = Number*ScreenSize
Number is a percent from 0%-infinity% (0-infinity) So full screen size will be 100% (1)
Pixels is self explanitory |
|
|
| Report Abuse |
|
|
|
| 08 Aug 2016 03:58 PM |
| Both scale and pixels can be negative as well |
|
|
| Report Abuse |
|
|