godot
godot copied to clipboard
Add get_loops_left() function to Tween
Implements https://github.com/godotengine/godot-proposals/issues/5141.
Adds a new get_loops_left() function to Tween, allowing developers to reason about how many times a tweening sequence will repeat and whether to expect finished or loop_finished as the next signal.