# Teleport Fail ?

**URL:** https://forum.makecode.com/t/teleport-fail/8031
**Category:** Show & Tell
**Created:** [May 12, 2021, 3:30pm UTC](https://forum.makecode.com/t/teleport-fail/8031 "2021-05-12T15:30:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)
#### Post date: [May 12, 2021, 3:30pm UTC](https://forum.makecode.com/t/teleport-fail/8031/1 "2021-05-12T15:30:08Z")

</div>

Can anyone explain this strange behavior ? In this ‘ball in grid’ display the sprite stays within the grid square if it is in the middle squares but when moving to an outer square it is teleported to a grid line and there it stays. Very simple code. How can I keep the ball in square centers all over the grid , not just the center ? Thanks:

> **[Grid DemoMiddleFail1](https://arcade.makecode.com/49286-69420-87661-61706)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.
