0 votes

Hi All --

I am looking for the easiest/recommended way to check if a tween has completed playing, and if it has not, stop it and play another tween. This is what i'm after:

if not tween_A.completed:
else: tween_B.start()
in Engine by (512 points)

1 Answer

0 votes

A Tween has a tween_completed signal and a tween_all_completed signal that might be helpful. Otherwise, maybe you want the tween's is_active() method?

Docs here:


by (19,310 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.