Is move_to not workin on godot 3?

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

move_to(get_position() + direction * SPEED)
doesnt wanna work cuz "The method “move_to” isnt declared in current class.
if it doesnt work anymore wuts should i use instead? im new to codin n godot so i dont rly know much ;-;

:bust_in_silhouette: Reply From: kidscancode

No, there is no move_to() method in Godot 3. If you saw that code somewhere, it is from a very old tutorial, and you should probably disregard it. You’re better off looking at something more recent, that applies to the current version of Godot.

The best recommendation for a tutorial that shows how to use the engine is the official one: