Godot 4.2.1
So in my script, there is:
nav_agent.get_next_path_position()
nav_agent is just a NavigationAgent2D.
It works fine in reaching the destination, but my only problem is that it draws the path to take on the screen. I just need the path to be invisible.