I want to do this:
:TweenPosition(UDim2.new(x.Offset = 40), "Out", "Quad", .1)
But the normal formula is:
:TweenPosition(UDim2.new(0, 40, 0, 0), "Out", "Quad", .1)
How would I execute the first one? If you ask why I cant use the second one, it's because the function finds a GUI (which have different positions) and I don't want to make them all 0 on the Y axis. I want the Y axis to remain as it is.

6 comments
Do I have to add the Y as well?
I don't understand what you mean.
Sorry about that. By adding the Y I mean, couldn't I just type this?:(UDim2.new(gui.Position.X.Scale, 40) Or it would give me an error since it doesn't follow a certain format of(X scale, X offset, Y scale, Y offset)
I edited my answer to show adding to the Y axis.
Oh, so it works both ways?
The first one will set the X offset to 40 absolutely. It doesn't add it to the current value. The second example will ADD 40 to the Y offset, moving it down.