Is there a way to stop tweening in ROBLOX studio?

0

I want a command that stops a tweening in ROBLOX studio, for example:

frame:TweenPosition(UDim2.new(0, 200, 0, 0),
    "Out", "Quad", 1)

But when you get some condition, is there any way to stop this tweening?

    
asked by anonymous 02.01.2017 / 18:39

1 answer

0

It is currently not possible, but setting the fifth ( natively sixth) argument from this call becomes possible to replace your tweening with another.

(Unfortunately there's no way I can tell if the example works.)

Example of stopping a tweening (not tested):

frame:TweenPosition(UDim2.new(0, 200, 0, 0),
    "Out", "Quad", 1, true);

frame:TweenPosition(frame.Position,
    "Out", "Quad", 0, --[=[opcional]=]true);

Documentation:

03.01.2017 / 13:30