Hey guys!
I’m new to UI design, and I’m trying to do a TewwnPosition. I’m honestly bad with it, and this is what I think it does.
frame:TweenPosition(UDim2.new(x, ?, y, ?))
How does this work, and how do I use it correctly?
Hey guys!
I’m new to UI design, and I’m trying to do a TewwnPosition. I’m honestly bad with it, and this is what I think it does.
frame:TweenPosition(UDim2.new(x, ?, y, ?))
How does this work, and how do I use it correctly?
Format:
UDim2.new(xScale, xOffset, yScale, yOffset)
Please look on the devhub before asking these kinds of questions.
Scale?
Try putting this into a TextLabel in a frame.
local frame = script.Parent.Parent
wait (7)
frame:TweenPosition(UDim2.new(0, 0, 1, 0))
wait (3)
frame:Destroy()
It moves it across the screen. Not scales it?
Yeah, this is the percentage across the screen. 0 is all the way to the left, 0.5 is the direct center, and 1 is all the way to the right.
Is there a way to control the speed?