# Quick tutorial on the \`settings\` namespace

**URL:** <https://forum.makecode.com/t/quick-tutorial-on-the-settings-namespace/1013>\
**Category:** Arcade\
**Tags:** tutorial\
**Created:** [January 10, 2020, 2:23am UTC](https://forum.makecode.com/t/quick-tutorial-on-the-settings-namespace/1013 "2020-01-10T02:23:03Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [June 20, 2022, 7:54pm UTC](https://forum.makecode.com/t/quick-tutorial-on-the-settings-namespace/1013/8 "2022-06-20T19:54:10Z")

</div>

I had mentioned a few days ago that I’d update this thread, now that the `settings` namespace is supported in Blocks.

To add the necessary blocks, install the **settings-blocks** extension in your project.

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

The extension adds a new drawer to the toolbox, called **settings**. In this post, I’ll focus on the four blocks at the top of the drawer.

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

As in my original post, let’s say you want to ask players for their names and ages. You could do something like this:

 ![arcade-screenshot](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/5/51bcdeeae60c6c6187bf039f31529477c6c1e6ce.png)

Then, somewhere else in your game, you could read that information:

 ![arcade-screenshot (1)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/642737dfaa9a0f93a89da0ba88b8a123ec118ac1.jpeg)

Here’s a more complete example, then, with these ideas in mind:

 ![arcade-screenshot (3)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/1500b776d43f560e9dda07a2bfe81da7281c57eb.png)

You can play with the code here:

> **[Settings Blocks](https://arcade.makecode.com/67083-67316-16885-42466)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Run the game once so that the game can store the appropriate settings. Then, run it again, and notice that the game does not prompt you for your name. The information is saved in storage that is associated with the game, and so the information is available even after the game ends.

As with JavaScript, the **settings** drawer has additional functions to store other things, like arrays.

Have fun!

---

_[View the full topic](https://forum.makecode.com/t/quick-tutorial-on-the-settings-namespace/1013)._
