The turtle dies.
if xcor > 20 [ die ] ;; all turtles with xcor greater than 20 die
See also: ct
Take me to the full NetLogo Dictionary