Please sign in to comment.
Prevent turtles moving beyond the world border
As tiles outside the world border are not ticked, turtles are rendered entirely useless. Furthermore, the turtle animation will never progress resulting in visual glitches. In order to avoid this, we ensure the target position is within the world border when moving to it.
- Loading branch information...
Showing with 10 additions and 5 deletions.