Topic was automatically imported from the old Question2Answer platform.
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 ;-;
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: