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?
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?
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.)
frame:TweenPosition(UDim2.new(0, 200, 0, 0),
"Out", "Quad", 1, true);
frame:TweenPosition(frame.Position,
"Out", "Quad", 0, --[=[opcional]=]true);
Documentation: