How to Tween UIs in the middle?

Hey, So I’m having a little problem with UI Tweens, I wanted to make a Block/TextLabel try to tween in the middle, but It justs tweens at the top corner left, but I wanted it to tween in the middle, like doing with Vector3s.

Heres what I’m talking about.

Sorry for bad drawing lol

I don’t understand the drawing :joy:, but you would just use do Udim2.fromScale(0.5, 0.5) which is the middle, and also setting the anchor point to 0.5, 0.5

3 Likes

Thanks! I will try it, but yeah I drew in Paint xD, thats why its garbage.

Yeah tweening is very simple, once you understand how UI works and it’s not too hard to learn :smile:

1 Like

paint supports text you could use that.


Anyways, you can use UI:TweenPosition or something like that to tween it.

1 Like