# Any way to keep a Variable entact after Game Reset?

**URL:** https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693
**Category:** Help
**Tags:** game
**Created:** [June 27, 2026, 2:48am UTC](https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693 "2026-06-27T02:48:14Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![British\_Dog](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/british_dog/32/34353_2.png) [@British\_Dog](https://forum.makecode.com/u/British_Dog)
#### Post date: [June 27, 2026, 2:48am UTC](https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693/1 "2026-06-27T02:48:14Z")

</div>

Lets say I have a Variable.

The first time you play the game the variable is false, so you start at the first level; then If you do a certain thing the variable is set to true, then if you reset the game the variable goes back to false, but how do I set it so after the reset the variable remains the same? So like if you reset and the variable is true you start at a different level then if it wasn’t?

Sorta like saving? I dunno…

---

<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: [June 27, 2026, 4:06pm UTC](https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693/2 "2026-06-27T16:06:44Z")

</div>

There is a save extension that does exactly that. It’s called the settings extension and you can find it by clicking the extension button in the toolbox then selecting the option for said extension.

---

<div class="post-metadata">

### Author: ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)
#### Post date: [June 27, 2026, 4:14pm UTC](https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693/3 "2026-06-27T16:14:54Z")

</div>

You can use the settings extension! For whatever reason though, you cannot save booleans. Here is an example of it being used (press b to see it again):

> **[saving a boolean](https://arcade.makecode.com/S48616-18547-51989-04715)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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: [June 27, 2026, 4:15pm UTC](https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693/4 "2026-06-27T16:15:17Z")

</div>

This is perfect for the Settings extension, which lets you save values in permanent memory. I would look at some example projects to see how to use it. [Here’s one!](https://forum.makecode.com/t/i-need-help-with-a-save-sistem/44356/5)

This feels like one of those questions that like 6 people are going to answer, but hopefully they will see that I reacted 👍 and will know that I’m answering it…

---

<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: [June 29, 2026, 10:24pm UTC](https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693/5 "2026-06-29T22:24:24Z")

</div>

We should make a system of riles so whoever added a thumbs up on a question answers it so people don’t also respond

---

<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: [June 29, 2026, 11:12pm UTC](https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693/6 "2026-06-29T23:12:30Z")

</div>

Yes, that’s what I was going for, though I should announce it somewhere instead of waiting for people to slowly realize…

---

<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 29, 2026, 11:12pm UTC](https://forum.makecode.com/t/any-way-to-keep-a-variable-entact-after-game-reset/44693/7 "2026-06-29T23:12:36Z")

</div>

Honestly I don’t think that’s necessary because sometimes people can be wrong or having multiple perspectives can be good
