# Stat extension

**URL:** https://forum.makecode.com/t/stat-extension/8859
**Category:** Show & Tell
**Tags:** extension
**Created:** [June 21, 2021, 3:47pm UTC](https://forum.makecode.com/t/stat-extension/8859 "2021-06-21T15:47:22Z")
**Posts on this page:** 5
**Page:** 1

<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 21, 2021, 3:47pm UTC](https://forum.makecode.com/t/stat-extension/8859/1 "2021-06-21T15:47:22Z")

</div>

A simple extension to toggle the stats like in the pause menu:

> **[UnsignedArduino/Stats](https://github.com/UnsignedArduino/Stats)**
>
> A simple MakeCode Arcade extension to toggle stats on and off via blocks - UnsignedArduino/Stats

Blocks:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/b388f5eab19661a92f1f612bb4e2f0b832ca1ea6.png)  
So now you don’t have to keep going into the pause menu and turning stats on to see the sprite count and FPS. 🙂

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [June 28, 2021, 4:51pm UTC](https://forum.makecode.com/t/stat-extension/8859/2 "2021-06-28T16:51:54Z")

</div>

Thank you so much, this is really helpful!

---

<div class="post-metadata">

### Author: ![jackal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jackal/32/19506_2.png) [@jackal](https://forum.makecode.com/u/jackal)
#### Post date: [August 27, 2021, 2:42pm UTC](https://forum.makecode.com/t/stat-extension/8859/3 "2021-08-27T14:42:41Z")

</div>

cboy time lol

---

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [November 28, 2022, 5:32pm UTC](https://forum.makecode.com/t/stat-extension/8859/4 "2022-11-28T17:32:12Z")

</div>

I made a PR for a quick update that makes this extension easier to use! I added a “if stats on” block, which returns if stats are on or off as a boolean, then a new icon to make the ext look “official”. I always get annoyed at having to make a separate variable so my code knows whether to toggle it on or off, but with this new block it’ll be easier! No changes will happen to existing projects, so you should be able to safely pull the changes and make a release!

---

<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: [November 28, 2022, 9:35pm UTC](https://forum.makecode.com/t/stat-extension/8859/5 "2022-11-28T21:35:50Z")

</div>

I’ll check them out later when I have time, thanks!
