# Extension for Adding Delta Time to Blocks

**URL:** <https://forum.makecode.com/t/extension-for-adding-delta-time-to-blocks/13194>\
**Category:** Arcade\
**Tags:** extension\
**Created:** [April 20, 2022, 8:25pm UTC](https://forum.makecode.com/t/extension-for-adding-delta-time-to-blocks/13194 "2022-04-20T20:25:02Z")\
**Posts on this page:** 1\
**Showing post:** 15

<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:** [June 5, 2026, 1:51am UTC](https://forum.makecode.com/t/extension-for-adding-delta-time-to-blocks/13194/15 "2026-06-05T01:51:20Z")

</div>

Once again, it has come to my attention that I _still_ was using wrong math in this extension. So once again, I have fixed the extension (for hopefully the last time). Apparently, Arcade runs at 48 fps, not 30, as stated in this post:

> [@Why use "forever" over "on game update"?](https://forum.makecode.com/t/why-use-forever-over-on-game-update/44318/8):
>
> @ScriptScraper you are correct! it’s 48. i have no idea why we decided on that number

Should have known something was still wrong with the regular delta block, as it still wasn’t naturally giving a 1 and I had to do a max function to cap it off and not make it be slower.

---

_[View the full topic](https://forum.makecode.com/t/extension-for-adding-delta-time-to-blocks/13194)._
