# Petition for coloring info blocks

**URL:** https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460
**Category:** Arcade
**Created:** [September 6, 2024, 7:36pm UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460 "2024-09-06T19:36:40Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)
#### Post date: [September 6, 2024, 7:36pm UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460/1 "2024-09-06T19:36:40Z")

</div>

I have been making a lot of games with timers and scores but I hate how when you want to change the color you have to pick a new palette. Could we make a few customization blocks to the block inventory. I’m pretty sure you can do this is JavaScript but I’ve been trying to use blocks so if I’m trying to help someone who doesn’t know JavaScript it’s easier or other stuff I guess. But it would be nice to have a block for it.

I would make a poll to see how many people agree but every time I make a poll it doesn’t work. Discourse has been weird with me lately.

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [September 7, 2024, 2:13am UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460/2 "2024-09-07T02:13:15Z")

</div>

That would be nice!

---

<div class="post-metadata">

### Author: ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)
#### Post date: [September 7, 2024, 2:29am UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460/3 "2024-09-07T02:29:58Z")

</div>

I like it, @RobbyZero ! I’m not sure I’ll have time this weekend as I have another project that I need to get done first, but I can put one together if someone else doesn’t get to it first!

There are functions for single-player games. I don’t see any for multiplayer games.

```typescript
info.setBackgroundColor(bg)
info.setBorderColor(b)
info.setFontColor(f)
info.setLifeImage(img)

```

---

<div class="post-metadata">

### Author: ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)
#### Post date: [September 8, 2024, 3:05am UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460/4 "2024-09-08T03:05:25Z")

</div>

Since you asked so nicely, here you go! From the `README` file:

## Tutorial

Want to see a tutorial on how to use this extension? Give this one a try!

[https://arcade.makecode.com/#tutorial:https://github.com/robo-technical-group/pxt-info-blocks-extra/tutorial](https://arcade.makecode.com/#tutorial:https://github.com/robo-technical-group/pxt-info-blocks-extra/tutorial)

## See it in action!

> Open this page at [https://robo-technical-group.github.io/pxt-info-blocks-extra/](https://robo-technical-group.github.io/pxt-info-blocks-extra/)

## Use as Extension

This repository can be added as an **extension** in MakeCode.

- open [https://arcade.makecode.com/](https://arcade.makecode.com/)
- click on **New Project**
- click on **Extensions** under the gearwheel menu
- search for **[https://github.com/robo-technical-group/pxt-info-blocks-extra](https://github.com/robo-technical-group/pxt-info-blocks-extra)** and import

* * *

[See all of my MakeCode Arcade games and extensions here!](https://sites.google.com/site/akulcsarsite/makecode/makecode-arcade)

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [September 8, 2024, 6:15pm UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460/5 "2024-09-08T18:15:11Z")

</div>

Yippee! Thank you! 🥳

---

<div class="post-metadata">

### Author: ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)
#### Post date: [September 8, 2024, 6:19pm UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460/6 "2024-09-08T18:19:54Z")

</div>

I’ll make a note in the official repo to surface the built-in JavaScript functions as additional blocks. This probably will have to wait for a while … until a new version of MakeCode Arcade gets the green light.

If this happens, then this extension will become redundant. It won’t hurt anything; you’ll just have duplicate blocks in the toolbox. 😄

They may still want to leave it as an extension to not clutter the built-in toolbox too much.

---

<div class="post-metadata">

### Author: ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)
#### Post date: [September 11, 2024, 7:59pm UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460/7 "2024-09-11T19:59:10Z")

</div>

Is there a reason you make all your projects with the robo technical group instead of just independently.

---

<div class="post-metadata">

### Author: ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)
#### Post date: [September 12, 2024, 12:15pm UTC](https://forum.makecode.com/t/petition-for-coloring-info-blocks/30460/8 "2024-09-12T12:15:17Z")

</div>

Anything that is meant to be private or personal (like projects where I’m just trying things out) goes in my personal list of repos. For anything public, I typically put it in my company’s repos. No real reason; just my preference.
