# Multilines for arcade-text

**URL:** https://forum.makecode.com/t/multilines-for-arcade-text/12555
**Category:** Show & Tell
**Tags:** extension
**Created:** [March 7, 2022, 5:18pm UTC](https://forum.makecode.com/t/multilines-for-arcade-text/12555 "2022-03-07T17:18:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)
#### Post date: [March 7, 2022, 5:18pm UTC](https://forum.makecode.com/t/multilines-for-arcade-text/12555/1 "2022-03-07T17:18:26Z")

</div>

Share my custom of official arcade-text ext, added **Multilines** support, in case anyone need.

> **[arcade-text](https://arcade.makecode.com/73556-43866-67413-93047)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

# Usage

With new block: “set $this(textSprite) $chars characters per line”: set how many characters per line, for multilines mode, set 0 for single line mode.

for example:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b9dc858b4cfd654d2ad1c8dc3f6a514906dfcec8.png)

will get:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/0ada76a162857626ac447457484360cc3364d1b6.png)

And plus:

- changed outline drawing code, to avoid memery run out issue
- moved rendering icon to last in update(), or icon could be ruin by rendering outline

---

<div class="post-metadata">

### Author: ![personalnote](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personalnote/32/31359_2.png) [@personalnote](https://forum.makecode.com/u/personalnote)
#### Post date: [March 9, 2022, 6:46pm UTC](https://forum.makecode.com/t/multilines-for-arcade-text/12555/2 "2022-03-09T18:46:49Z")

</div>

that’s cool and very helpful nice job

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [June 20, 2022, 6:24pm UTC](https://forum.makecode.com/t/multilines-for-arcade-text/12555/3 "2022-06-20T18:24:35Z")

</div>

Hi, I just (re)-stumbled across this - is there a URL to import from when using this? Would love to add this to the list!

---

<div class="post-metadata">

### Author: ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)
#### Post date: [June 21, 2022, 5:00pm UTC](https://forum.makecode.com/t/multilines-for-arcade-text/12555/4 "2022-06-21T17:00:58Z")

</div>

Hi @UnsignedArduino !

This have not been push to the [official repo](https://github.com/microsoft/arcade-text) yet.  
Only can be accessed from my repo with this URL right now:  
[https://github.com/AqeeAqee/arcade-text](https://github.com/AqeeAqee/arcade-text)

Thanks!

---

<div class="post-metadata">

### Author: ![PiegiXD](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/piegixd/32/11783_2.png) [@PiegiXD](https://forum.makecode.com/u/PiegiXD)
#### Post date: [November 10, 2023, 7:40pm UTC](https://forum.makecode.com/t/multilines-for-arcade-text/12555/5 "2023-11-10T19:40:26Z")

</div>

For some reason, I don’t have the block that you are taking about. Very sadness =(

---

<div class="post-metadata">

### Author: ![AqeeAqee](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/aqeeaqee/32/5424_2.png) [@AqeeAqee](https://forum.makecode.com/u/AqeeAqee)
#### Post date: [November 14, 2023, 5:06pm UTC](https://forum.makecode.com/t/multilines-for-arcade-text/12555/6 "2023-11-14T17:06:52Z")

</div>

Need any help on how to import extention into your project?
