how to change working code from godot 3.x to 4

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wujek_kot69
func go_to_checkpoint() -> void:
$knight_hitbox/CollisionShape2D.disabled = false
checkpoint_tween.interpolate_property(self, "position", position, last_checkpoint.position, 0.4, Tween.TRANS_EXPO, Tween.EASE_OUT)

it just don’t work
it is code for checkpoint

:bust_in_silhouette: Reply From: Zylo_X

Tween node has been removed from godot 4.x editor they are no longer nodes
so you have to add them manually in the code

see the documentation