# controlP5 / ControlP5 / addNumberbox( )

name
  addNumberbox ( )

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

Syntax

      addNumberbox(theName, theX, theY, theWidth, theHeight);
      addNumberbox(theName, theDefaultValue, theX, theY, theWidth, theHeight);

parameters
  theName String
  theX float
  theY float
  theWidth int
  theHeight int
  theDefaultValue int

Returns
  Numberbox

Usage
  Web & Application

Related
  - Numberbox