slidervar number
Sets the value of a slider variable to number from within the code.
number
Examples: setnumberturtles 100 would set the value of the slider numberturtles to 100.
setnumberturtles 100
numberturtles
Related commands: