# controlP5 / ControlP5 / addKnob( )

name
  addKnob ( )

description
  add a knob to controlP5. by default it will be added to the default tab of the main window.

Syntax

      addKnob(theName, theMin, theMax, theDefaultValue, theX, theY, theDiameter);

parameters
  theName String
  theMin float
  theMax float
  theDefaultValue float
  theX float
  theY float
  theDiameter int

Returns
  Knob

Usage
  Web & Application

Related
  - Knob