summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-16 16:47:51 +0200
committerGitHub <noreply@github.com>2021-10-16 16:47:51 +0200
commit09eaaf17752cc375765805c5e062c9c51addbb3f (patch)
tree9780faabee52b9394d201a12277135043e60a669 /doc/classes
parentcb22c9540314dabfb22ba7cb8c3b06de583c8c99 (diff)
parent8937fffc5eb2d23fccb9d45c7cffd8474ee506b5 (diff)
Merge pull request #53880 from KoBeWi/tween_infinity()
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Tween.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Tween.xml b/doc/classes/Tween.xml
index f94018c96b..488a5aa340 100644
--- a/doc/classes/Tween.xml
+++ b/doc/classes/Tween.xml
@@ -146,6 +146,7 @@
<description>
Sets the number of times the tweening sequence will be repeated, i.e. [code]set_loops(2)[/code] will run the animation twice.
Calling this method without arguments will make the [Tween] run infinitely, until it is either killed by [method kill] or by freeing bound node, or all the animated objects have been freed (which makes further animation impossible).
+ [b]Warning:[/b] Make sure to always add some duration/delay when using infinite loops. 0-duration looped animations (e.g. single [CallbackTweener] with no delay) are equivalent to infinite [code]while[/code] loops and will freeze your game.
</description>
</method>
<method name="set_parallel">