14. Use a multiline box for notes
1. Add a Text Box on a separate GUI, such as Text-box Examples(text_examples).
2. Set its ID to notes_box. Give it enough height for several lines; the example uses 450 by 214.
3. Open Type Settings and enable Multiline.
4. Enter Placeholder guidance such as Write a clue or a short note...
5. Add Save note and Restore note buttons beside or below the box.
6. Create a String variable called notes_saved for the stored note.
Figure 24. Multiline changes the kind of input. The single-line Enter and password options are not shown in this mode.
Enter now creates a new line. The box wraps text inside its available width. It is suitable for notes, a longer answer or a draft message, rather than a single parser command.
Hiding a GUI and saving its input are different operations. The current control may keep its text during the same run, but a fresh game, a rebuilt control or a different UI flow can replace it. Copy important input into a variable deliberately.
Use Save note to accept a draft, and Restore note to refill the field from the stored value. Do not automatically overwrite a focused draft every time another label refreshes.
