Tween acting weird?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GodotBeginner2023

I don’t even know what a tween is, but when i downloaded a simple fps demo, it kept on throwing this error saying tween can’t be created directly. Use create_tween() method. I don’t even want a ‘tween’ so i tried to delete it, but it wouldn’t delete it. Help please?

:bust_in_silhouette: Reply From: infinity

a tween is more suited than AnimationPlayer node for animations where you don’t know the final values in advance, my guess is that this is from a older version of Godot where tweens were a node, but in recent versions you have to create a tween through code.

Yeah, I did convert the code from an older version, but I want to get rid of it, and it just says it’s an empty node. How could I delete an empty node?

GodotBeginner2023 | 2023-04-11 10:25