A Lauchpad-GUI-Element (LPView subclass) which has a color but no action.
a LPLED which defines the color of the area.
Creates a LPColorArea of 4 buttons in the third row of the Launchpad.Launchpad.initMIDI;//is the Launchpad initialized? ( a = LPColorArea(Launchpad.getRange(0,2,3,2),{"Do something when the button is put to the front of the Launchpad.".postln},{"Do something when it is hidden from the Launchpad.".postln}); a.led = LPLED.yellow; a.front; ) a.hide;// to hide the gui element (some example code)