From 207bd34aa54072476c5ca07252fed30306002560 Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 21 Jul 2023 20:17:32 +0200 Subject: [PATCH] Clarify Tween.set_parallel() --- doc/classes/Tween.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/classes/Tween.xml b/doc/classes/Tween.xml index fd8ef507fbd8..60d91b433d0d 100644 --- a/doc/classes/Tween.xml +++ b/doc/classes/Tween.xml @@ -236,6 +236,12 @@ If [param parallel] is [code]true[/code], the [Tweener]s appended after this method will by default run simultaneously, as opposed to sequentially. + [b]Note:[/b] Just like with [method parallel], the tweener added right before this method will also be part of the parallel step. + [codeblock] + tween.tween_property(self, "position", Vector2(300, 0), 0.5) + tween.set_parallel() + tween.tween_property(self, "modulate", Color.GREEN, 0.5) # Runs together with the position tweener. + [/codeblock]