How to make enemies follow a path in 2d?

Godot Version

4.2.2

Question

How do I make it just follow a path? I don’t want it following the player or anything, just moving between 2 points.

If you don’t want gravity, use a path 2d, a path follow2d, and have the enemy be a child of the pathfollow, Or use a remote transformed if you don’t want the enemy to be the child.I think you have to make the pathfollow move in script though