Reputation: 11
Change the ‘go’ button from looping infinitely (‘forever’) to running for 1000 ticks.
How do I do that?
Upvotes: 0
Views: 27
Reputation: 10301
One way, based on pure ticks:
to setup
ca
reset-ticks
end
to go
if ticks = 1000 [ stop ]
; Actions here
tick
end
Upvotes: 1