|
| 25 Apr 2016 06:52 PM |
How can I tween sizes for both sides (because it only tweens one side) using :TweenSize?
Have a great day ;) |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2016 07:01 PM |
| tween size and position because position is top left not center |
|
|
| Report Abuse |
|
|
C_Sharper
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 6405 |
|
|
| 25 Apr 2016 07:11 PM |
TweenSizeAndPosition(UDim2.new(1,0,0,0),UDim2.new(.5,0,0,0))
Assuming the first argument is the size. |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2016 07:12 PM |
| that would be an invisible gui lol 0 thickness |
|
|
| Report Abuse |
|
|
C_Sharper
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 6405 |
|
|
| 25 Apr 2016 07:13 PM |
Nvm what I said tweenposition for this is tricky
Here's what I do without it
frame.Size = frame.Size + UDim2.new(0,0,.5,0) frame.Position = frame.Position - UDim2.new(0,0,.25,0) --Half of the size added, going in the opposing direction |
|
|
| Report Abuse |
|
|
| |
|
C_Sharper
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 6405 |
|
| |
|
C_Sharper
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 6405 |
|
|
| 25 Apr 2016 07:15 PM |
| and how is it 0 thickness if i add and subtract udims from it |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2016 07:17 PM |
| oh true that one isn't im dumb |
|
|
| Report Abuse |
|
|