How to make that the enemy follows the player using get simple path

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

Hello!
In different projects, I needed to get the enemy to follow the player. I’ve come to the conclusion that the best way to do such a thing would be to use the node navigation and the GdScript get simple path function, but I still haven’t been able to find a way to use it (I want to use it in a 3D game). Could someone tell me how I can do it?
Thanks.