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 receiving some condition, there is some way to stop this Tweening?
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 receiving some condition, there is some way to stop this Tweening?
0
At the moment it is not possible, but defining the fifth (natively sixth) argument of this call if it becomes possible to replace your Tweening with another.
(Unfortunately there’s no way I know 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:
Browser other questions tagged lua
You are not signed in. Login or sign up in order to post.
didn’t work :(
– arthurgps2
@arthurgps There was no error? Sorry, I don’t understand of Roblox :/ .
– Klaider
there was no error, but did not stop Tweening
– arthurgps2
@arthurgps Used the fifth argument
true
as in the example? It has to be both called.– Klaider
yes,I used the true
– arthurgps2
@arthurgps2 Tries to log back from the latest Tweening?
print(frame:TweenPosition(frame.Position, "Out", "Quad", 0, true));
, can say what log? If the first return isfalse
, the first Tweening cannot be replaced, I think.– Klaider