# Common Patterns: Timing, Hit While Swinging

**URL:** <https://forum.makecode.com/t/common-patterns-timing-hit-while-swinging/42418>\
**Category:** Arcade\
**Created:** [March 1, 2026, 1:37am UTC](https://forum.makecode.com/t/common-patterns-timing-hit-while-swinging/42418 "2026-03-01T01:37:47Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [March 3, 2026, 6:59pm UTC](https://forum.makecode.com/t/common-patterns-timing-hit-while-swinging/42418/8 "2026-03-03T18:59:12Z")

</div>

@Kikketer I think you might enjoy my arcade-state-transitions extension:

> **[GitHub - riknoll/arcade-state-transitions: A minimal state machine extension for Microsoft...](https://github.com/riknoll/arcade-state-transitions)**
>
> A minimal state machine extension for Microsoft MakeCode Arcade

which is possibly my favorite extension i’ve ever made and yet i’m now realizing i never posted about it on the forum…

Edit: I have corrected this oversight [[Extension] arcade-state-transitions](https://forum.makecode.com/t/extension-arcade-state-transitions/42480)

---

_[View the full topic](https://forum.makecode.com/t/common-patterns-timing-hit-while-swinging/42418)._
