# Score detection blocks?

**URL:** <https://forum.makecode.com/t/score-detection-blocks/34385>\
**Category:** Help\
**Created:** [March 7, 2025, 5:53pm UTC](https://forum.makecode.com/t/score-detection-blocks/34385 "2025-03-07T17:53:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bilangus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bilangus/32/33219_2.png) [@Bilangus](https://forum.makecode.com/u/Bilangus)\
**Post date:** [March 7, 2025, 5:53pm UTC](https://forum.makecode.com/t/score-detection-blocks/34385/1 "2025-03-07T17:53:41Z")

</div>

An upcoming project i have planned is based around score. Is there any way to make some sort of " on every ( ) score gained do" block/functionality thing, or other similar score blocks?

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 7, 2025, 9:05pm UTC](https://forum.makecode.com/t/score-detection-blocks/34385/2 "2025-03-07T21:05:38Z")

</div>

You could try using a function gain score (num), and use that as your scoring block instead of increasing score. That way you could check how much you were adding and run code at the same time increasing your score tell me if this helps 👍
