Attention: Here be dragons (unstable version)

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Redot.

SubtweenTweener

Inherits: Tweener < RefCounted < Object

Runs a Tween nested within another Tween.

Description

SubtweenTweener is used to execute a Tween as one step in a sequence defined by another Tween. See Tween.tween_subtween() for more usage information.

Note: Tween.tween_subtween() is the only correct way to create SubtweenTweener. Any SubtweenTweener created manually will not function correctly.

Methods

SubtweenTweener

set_delay(delay: float)


Method Descriptions

SubtweenTweener set_delay(delay: float) 🔗

Sets the time in seconds after which the SubtweenTweener will start running the subtween. By default there's no delay.