&nbsp;<a href="../controlP5/Knob.html" title="class in controlP5">Knob</a>&nbsp;setConstrained(boolean&nbsp;theValue)</pre>
</li>
</ul>
<a name="setDragDirection-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDragDirection</h4>
<pre>public&nbsp;<a href="../controlP5/Knob.html" title="class in controlP5">Knob</a>&nbsp;setDragDirection(int&nbsp;theValue)</pre>
<div class="block">Sets the drag direction, when controlling a knob, parameter is either Controller.HORIZONTAL
 or Control