Tweens and queue free

Godot Version



Hello, if I call queue_free on node that created tween, will it properly delete active tween automatically or queue_free will be holded until tween ends or tween become “hanging in air” with possibility to never end?

If you created the tween like this: my_node.create_tween() then it’s bound to my_node and it will be automatically killed when my_node is freed.

If you create a tween like this: get_tree().create_tween() then it’s not bound to any node and will not be killed automatically.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.