Slider Value

From StarLogo Nova Wiki
Other languages:


Slider value

Returns the value of a selected slider.

[▼] slider value is a code block from the Interface drawer.

Usage

[▼] slider value refers to the value of a selected slider.

Syntax

[File:Slider Value.png|right|alt=The Slider Value Block|thumb]] Inputs:

  1. a slider from the dropdown menu

Example

Slider Value example code

This is a model of the change in the pH of water following the addition of acid. The slider allows the user to decide how many hydronium ions to add when the ‘add H+’ button is pushed.

Nuances

Related Blocks