Attention: Here be dragons

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

AwaitTweener๏ƒ

Inherits: Tweener < RefCounted < Object

Awaits a specified signal.

Description๏ƒ

AwaitTweener is used to await a specified signal, allowing asynchronous steps in Tween animation. See Tween.tween_await() for more usage information.

The Tweener.finished signal is emitted when either the awaited signal is received, when timeout is reached, or when the target object is freed.

Methods๏ƒ

AwaitTweener

set_timeout(timeout: float)


Method Descriptions๏ƒ

AwaitTweener set_timeout(timeout: float) ๐Ÿ”—

Sets the maximum time an AwaitTweener can wait for the signal. Can be used as a safeguard for signals that may never be emitted. If not specified, the tweener will wait indefinitely.