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

Hereda: Tweener < RefCounted < Object

Espera una señal específica.

Descripción

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.

Métodos

AwaitTweener

set_timeout(timeout: float)


Descripciones de Métodos

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.