Custom movement script

in the docs there is a custom movement script. in the update function there is " while (true) " what is this … while what is true?


It checks iteratively if the current waypoint is close enough, and changes the waypoint to the next one in the list if that is the case. If the waypoint is far away it breaks out of the loop.