of     1   

Legend26
#63711396Friday, March 02, 2012 10:01 PM GMT

Let's say we have a frame that has a ChildAdded event handler like this. local History = {} Frame.ChildAdded:connect(function (Frame) for i,v in next, History do v.Position = v.Position + UDim2.new(0,100,0,100) end Frame:TweenPosition(Frame.Position + UDim2.new(0,100,0,100), nil, nil, 1, true) table.insert(History,1,Frame) end) Now, the problem is that if another frame is added before the first tween is finished, the frame will end up at the EndPos provided to TweenPostion and not the new position set by looping through the history table. While I could obviously just call TweenPosition again, it still does not cancel that first tween position. Is there any way to get the TweenPosition override working besides waiting until the first tween is finished?
1Ra
#63713148Friday, March 02, 2012 10:34 PM GMT

just use false as the override.
Legend26
#63713627Friday, March 02, 2012 10:42 PM GMT

Except Override has to be true to work. Setting it to false won't change anything,
SDuke524
#63715027Friday, March 02, 2012 11:11 PM GMT

You would have to make a custom TweenPosition function.
Legend26
#63715850Friday, March 02, 2012 11:27 PM GMT

Egh blah that. Easier to just have it wait until the tween is done (via debounce), so that's what I'll do.

    of     1