# @richard what the heck is this

**URL:** <https://forum.makecode.com/t/richard-what-the-heck-is-this/42112>\
**Category:** Help\
**Created:** [February 12, 2026, 5:58pm UTC](https://forum.makecode.com/t/richard-what-the-heck-is-this/42112 "2026-02-12T17:58:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [February 12, 2026, 5:58pm UTC](https://forum.makecode.com/t/richard-what-the-heck-is-this/42112/1 "2026-02-12T17:58:28Z")

</div>

@richard when did we get the ability to use multiple things for arrays I cannot express my gratitude for this. Cheers makecode team

---

<div class="post-metadata">

**Author:** ![RoboVacDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robovacdev/32/29619_2.png) [@RoboVacDev](https://forum.makecode.com/u/RoboVacDev)\
**Post date:** [February 12, 2026, 7:48pm UTC](https://forum.makecode.com/t/richard-what-the-heck-is-this/42112/2 "2026-02-12T19:48:11Z")

</div>

Wait we did!?

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [February 12, 2026, 7:48pm UTC](https://forum.makecode.com/t/richard-what-the-heck-is-this/42112/3 "2026-02-12T19:48:13Z")

</div>

What exactly do you mean? Like put multiple types of items in an array? I thought you could always do that.

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [February 13, 2026, 5:16am UTC](https://forum.makecode.com/t/richard-what-the-heck-is-this/42112/4 "2026-02-13T05:16:17Z")

</div>

I thought I caused an error I was dang sure of that when I did nested arrays with different stuff

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [February 13, 2026, 6:09pm UTC](https://forum.makecode.com/t/richard-what-the-heck-is-this/42112/5 "2026-02-13T18:09:43Z")

</div>

The thing is that you can’t actually _use_ these arrays. For example, if you created an array of a number and some text, it would be of type “string | number” which you can’t really do anything with (in blocks). Unless you are type checking it, which doesn’t exist in blocks, it will cause an error… wait… ok new [pxt-JavaScript-extras](https://forum.makecode.com/t/making-an-extension-for-every-javascript-exclusive-feature-i-can-think-of/36766) update, I’ve added the “typeof” block. You can now do type checking in blocks, have fun.

Nope. No fun to be had here. The compiler still complains if you use the block I made, sorry. You would have to go into JavaScript, type “typeof”, and then switch back to make the compiler happy. Very sad.

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [February 13, 2026, 9:50pm UTC](https://forum.makecode.com/t/richard-what-the-heck-is-this/42112/6 "2026-02-13T21:50:38Z")

</div>

I used number and sprite in a dialog box and it displayed both

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [February 13, 2026, 10:32pm UTC](https://forum.makecode.com/t/richard-what-the-heck-is-this/42112/7 "2026-02-13T22:32:04Z")

</div>

Yes that makes sense as the dialogue box accepts any input. I thought you were talking about arrays?
