Followed the pong tutorial but the ball won't move

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By yoruichi
:warning: Old Version Published before Godot 3 was released.

I have checked the code for 30 minutes and can’t figure out what’s wrong with it, can anyone help me with this?
Here are the project files:

edit: my bad, I figured it out, I have put “get_node(“ball”).set_pos(ball_pos)” under an if statement