I want my tweened line to go both ways, rn it goes left only

i cant figure tween out, too complicated.
I got this rn:

The line should go out on both sides, similar to the legend of zelda’s
Idk how to make it do that though

1 Like

Tween both the size and position

1 Like

how should i go about doin that

Show me your tween code

Set the X anchor point to 0.5, then use TweenSize.

Frame:TweenSize(UDim2.new(0,600,0,100))

This used to be the only way to do it. But Roblox added anchor points which is really nice now.

1 Like

when i change those it moves the ui and makes it not centered

1 Like

readjust the position to be 0.5, 0.5 on the scale too

Yes, that’s to be expected.

You’ll have to play around with the position scale/offset to figure out where it goes.
Looking at the video I would recommend you either positions
0.5, 0, 0.15, 0
or
0.5, 0, 0, 20
whichever method you’re using for UI (pixel based or relative screen).

1 Like