A few days ago I was adding a double jump to a Godot 4 project. My AI handed me this:

move_and_slide(velocity, Vector2.UP)

Enter fullscreen mode

Exit fullscreen mode

Looks fine. But that's the Godot 3 signature. In Godot 4 you set velocity as a property and call move_and_slide() with no arguments. The code didn't run.