# P5.gui text area instead of text input

**URL:** <https://discourse.processing.org/t/p5-gui-text-area-instead-of-text-input/22848>\
**Category:** Libraries\
**Created:** [July 26, 2020, 4:08pm UTC](https://discourse.processing.org/t/p5-gui-text-area-instead-of-text-input/22848 "2020-07-26T16:08:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hath](https://avatars.discourse-cdn.com/v4/letter/h/7cd45c/32.png) [@hath](https://discourse.processing.org/u/hath)\
**Post date:** [July 26, 2020, 4:08pm UTC](https://discourse.processing.org/t/p5-gui-text-area-instead-of-text-input/22848/1 "2020-07-26T16:08:35Z")

</div>

Is there a way to create a multi-line text area (as opposed to text input) using p5.gui?

Assuming both [quicksettings.js](https://github.com/bit101/quicksettings) and [p5.gui.js](https://github.com/bitcraftlab/p5.gui) have been imported, the code below automatically generates a text input. I can’t seem to find documentation for creating a text area:

```auto
var label = 'insert text';

function setup() {
  createCanvas(600, 600);
  gui = createGui('Poster Generator');
  gui.addGlobals('label');
}

function draw() {
  textSize(18)
  text(label, 100, 100)
}

```

Side note has anyone else noticed that you have to use “var” instead of “let” in order to get p5.gui to work?

Thanks for any help!
