setslidervar
value
Parameters:
value |
Number |
The value you want to set the slider to |
Description:
Sets the value of a slider variable (named in the command name) to value from within code.
Examples:
setnumber-of-turtles 100
would set the value of the slider number-of-turtles
to 100
.
Related Commands:
set