Calling this function will end the current path that the instance is following.
path_end();
N/A
if place_meeting(x, y, all)
{
path_end();
}
The above code will end the current path if the instance detects any collision with any other instance.