You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SubtweenTweener] is used to execute a [Tween] as one step in a sequence defined by another [Tween]. See [method Tween.tween_subtween] for more usage information.
8
+
[b]Note:[/b] [method Tween.tween_subtween] is the only correct way to create [SubtweenTweener]. Any [SubtweenTweener] created manually will not function correctly.
9
+
</description>
10
+
<tutorials>
11
+
</tutorials>
12
+
<methods>
13
+
<methodname="set_delay">
14
+
<returntype="SubtweenTweener" />
15
+
<paramindex="0"name="delay"type="float" />
16
+
<description>
17
+
Sets the time in seconds after which the [SubtweenTweener] will start running the subtween. By default there's no delay.
Copy file name to clipboardexpand all lines: doc/classes/Tween.xml
+21
Original file line number
Diff line number
Diff line change
@@ -473,6 +473,27 @@
473
473
[/codeblocks]
474
474
</description>
475
475
</method>
476
+
<methodname="tween_subtween">
477
+
<returntype="SubtweenTweener" />
478
+
<paramindex="0"name="subtween"type="Tween" />
479
+
<description>
480
+
Creates and appends a [SubtweenTweener]. This method can be used to nest [param subtween] within this [Tween], allowing for the creation of more complex and composable sequences.
[b]Note:[/b] The methods [method pause], [method stop], and [method set_loops] can cause the parent [Tween] to get stuck on the subtween step; see the documentation for those methods for more information.
494
+
[b]Note:[/b] The pause and process modes set by [method set_pause_mode] and [method set_process_mode] on [param subtween] will be overridden by the parent [Tween]'s settings.
0 commit comments