# How to accurately change BPM with animations?

**URL:** <https://forum.makecode.com/t/how-to-accurately-change-bpm-with-animations/47289>\
**Category:** Help\
**Tags:** graphics-and-math\
**Created:** [November 14, 2026, 10:35pm UTC](https://forum.makecode.com/t/how-to-accurately-change-bpm-with-animations/47289 "2026-11-14T22:35:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![moopmakers](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/moopmakers/32/37283_2.png) [@moopmakers](https://forum.makecode.com/u/moopmakers)\
**Post date:** [November 14, 2026, 10:35pm UTC](https://forum.makecode.com/t/how-to-accurately-change-bpm-with-animations/47289/1 "2026-11-14T22:35:52Z")

</div>

I’m trying to make an FNF test thing, and I want to make it so the BPM can be entered and the characters will bop accordingly.

Currently system is “ask for bpm number, store in a variable then set the animation speed (in ms) to said variable”

Here’s the project link:

> **[FNF Test (buggy)](https://arcade.makecode.com/84412-14254-72235-79859)**
>
> bpm problems

If someone could tell me a way to do this, that would be great

---

<div class="post-metadata">

**Author:** ![cocowata](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/cocowata/32/35991_2.png) [@cocowata](https://forum.makecode.com/u/cocowata)\
**Post date:** [November 16, 2026, 1:42am UTC](https://forum.makecode.com/t/how-to-accurately-change-bpm-with-animations/47289/2 "2026-11-16T01:42:45Z")

</div>

I added a variable that has the bpm in milliseconds while also keeping a separate one for the actual bpm.

> **[FNF Test (buggy)](https://arcade.makecode.com/S15642-25972-76827-41576)**
>
> bpm problems

hope this helps

---

<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:** [November 16, 2026, 3:37am UTC](https://forum.makecode.com/t/how-to-accurately-change-bpm-with-animations/47289/3 "2026-11-16T03:37:28Z")

</div>

assuming you mean changing the BPM of a song, you can now using my extension I just made: [https://github.com/c-minusminus/edit-songs/](https://github.com/c-minusminus/edit-songs/)  
example usage:  
[https://makecode.com/\_EukFYKWwy5fm](https://makecode.com/_EukFYKWwy5fm)
