Turtle and Observer Command
setslidervar number

Sets the value of a slider variable to number from within the code.

Examples:
setnumberturtles 100 would set the value of the slider numberturtles to 100.

Related commands: