0 votes

Is there a way to find out what tweens the tween node is still working on?

I have something the tween thinks its still working on, but I don't know how to tell which property its still tweening. There are multiple tweens on the same node.

asked Jan 9 in Engine by Dumuz (236 points)

1 Answer

+1 vote
Best answer

https://docs.godotengine.org/en/latest/classes/class_tween.html#signals

Signal

tween_started ( Object object, NodePath key )

Emitted when a tween starts.

tween_completed ( Object object, NodePath key )

Emitted when a tween ends.

Receive start and end signals, save the result to a bool value, or generate a boolean dictionary with the property path as the key

answered Jan 9 by ATom 1 (209 points)
selected Jan 9 by Dumuz

Thank you, I didn't think about using those signals to keep track of what is active.

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 How to use this Q&A? before posting your first questions.