a href="../controlP5/Slider.html#snapToTickMarks-boolean-">snapToTickMarks</a></span>(boolean&nbsp;theFlag)</code>
<div class="block">enables or disables snap to tick marks.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../controlP5/Slider.html" title="class in controlP5">Slider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../controlP5/Slider.html#update--">update</a></span>()</code>
<div class="block">updates the value of the control