# Move to in Story extension breaks randomly

**URL:** <https://forum.makecode.com/t/move-to-in-story-extension-breaks-randomly/9324>\
**Category:** Help\
**Created:** [July 20, 2021, 10:38pm UTC](https://forum.makecode.com/t/move-to-in-story-extension-breaks-randomly/9324 "2021-07-20T22:38:55Z")\
**Posts on this page:** 4\
**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:** [July 20, 2021, 10:38pm UTC](https://forum.makecode.com/t/move-to-in-story-extension-breaks-randomly/9324/1 "2021-07-20T22:38:55Z")

</div>

In the story extension whenever I use the move to function at high speeds, there is a good chance of the movement just not working and breaking. Here is the code:

> **[CUPS](https://arcade.makecode.com/64563-06576-94947-26193)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

(Debug mode is enabled so the cup with the coin is pink)

As you can see, even in the gif rendering above the moves sometimes just end up being teleports, and sometimes one of the cups just keep sliding down the table…_forever_…

Am I using the extension wrongly? If not, @richard always makes a function that does the same thing on stream, could I have the code for that?

---

<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:** [July 20, 2021, 10:45pm UTC](https://forum.makecode.com/t/move-to-in-story-extension-breaks-randomly/9324/2 "2021-07-20T22:45:12Z")

</div>

You aren’t using it wrong, I just have never fixed this bug. Lemme go do that right now…

Here’s the function:

> **[move to](https://arcade.makecode.com/45280-29485-58453-96812)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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:** [July 21, 2021, 12:16am UTC](https://forum.makecode.com/t/move-to-in-story-extension-breaks-randomly/9324/3 "2021-07-21T00:16:46Z")

</div>

Fix is in PR: [https://github.com/microsoft/arcade-storytelling/pull/2](https://github.com/microsoft/arcade-storytelling/pull/2)

---

<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:** [July 21, 2021, 1:05am UTC](https://forum.makecode.com/t/move-to-in-story-extension-breaks-randomly/9324/4 "2021-07-21T01:05:56Z")

</div>

Thanks! Here is the new code if anyone wants to see cups fly:

> **[CUPS](https://arcade.makecode.com/54615-67262-64118-22070)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

(once the cups are done moving there is no code yet)
