Tween Gui while there is UiGridLayout

I was wondering if you could Tween Gui even if there is UIGridLayout as I want to do an animation when opening the menu but it wont tween as there is UiGridLayout but I need the UiGridLayout. Is it possible to tween or do I have to cancel the animation?

2 Likes

I’m pretty sure you’re unable to tween any ui that has the same parent as UIGridLayout.

2 Likes

Aw man i guess i have to leave it to be

1 Like

Could you show me an example of your problem?

1 Like
script.Parent.Parent.Frame.isodt:TweenPosition(UDim2.new(-0.002, 0,0.888, 0),"Out","Linear",1)
			script.Parent.Parent.Frame.isodt.Visible = true
wait(.1)
			script.Parent.Parent.Frame.dsodt:TweenPosition(UDim2.new(-0.002, 0,0.776, 0),"Out","Linear",1)
			script.Parent.Parent.Frame.dsodt.Visible = true
wait(.1)
			script.Parent.Parent.Frame.imsovt:TweenPosition(UDim2.new(-0.002, 0,0.663, 0),"Out","Linear",1)
			script.Parent.Parent.Frame.imsovt.Visible = true
wait(.1)
			script.Parent.Parent.Frame.dmsovt:TweenPosition(UDim2.new(-0.002, 0,0.55, 0),"Out","Linear",1)
			script.Parent.Parent.Frame.dmsovt.Visible = true
wait(.1)
			script.Parent.Parent.Frame.imsoht:TweenPosition(UDim2.new(-0.002, 0,0.437, 0),"Out","Linear",1)
			script.Parent.Parent.Frame.imsoht.Visible = true
wait(.1)
			script.Parent.Parent.Frame.dmsoht:TweenPosition(UDim2.new(-0.002, 0,0.324, 0),"Out","Linear",1)
			script.Parent.Parent.Frame.dmsoht.Visible = true
			wait(.1)	
			script.Parent.Parent.Frame.imsodt:TweenPosition(UDim2.new(-0.002, 0,0.211, 0),"Out","Linear",1)
			script.Parent.Parent.Frame.imsodt.Visible = true
wait(.1)
script.Parent.Parent.Frame.dmsodt:TweenPosition(UDim2.new(-0.002, 0,0.1, 0),"Out","Linear",1)

You should be able to tween the frames position, but not the descendants, because there is a uigridlayout which forces their position.

1 Like

Use a ui list layout instead with the wraps property enabled it should do the job!