clear
val t1 = newTurtle(random(-200, 200), random(-200, 200))
val t2 = newTurtle(random(-200, 200), random(-200, 200))
val t3 = newTurtle(random(-200, 200), random(-200, 200))
val t4 = newTurtle(random(-200, 200), random(-200, 200))
val t5 = newTurtle(random(-200, 200), random(-200, 200))
def mouseTracker() {
onMouseMove { (x, y) =>
t1.towards(x, y)
t2.towards(x, y)
t3.towards(x, y)
t4.towards(x, y)
t5.towards(x, y)
towards(x, y)
}
}
mouseTracker()