# I need help for tilemap issue

**URL:** <https://forum.makecode.com/t/i-need-help-for-tilemap-issue/16015>\
**Category:** Help\
**Tags:** game, make, extension\
**Created:** [October 26, 2022, 10:35pm UTC](https://forum.makecode.com/t/i-need-help-for-tilemap-issue/16015 "2022-10-26T22:35:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saintsony](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@saintsony](https://forum.makecode.com/u/saintsony)\
**Post date:** [October 26, 2022, 10:35pm UTC](https://forum.makecode.com/t/i-need-help-for-tilemap-issue/16015/1 "2022-10-26T22:35:29Z")

</div>

Hi, there

```
     I'm a teacher from a high school in Thailand so, I have an issue with tile maps changing. I try to look at my block code in "place sprite on top of ()" but the spirit is jumping in another block (not staying on top of the tilemap block). last 2 weeks ago this function has been working as well but today is working difference. 

```

can anyone help me or guide me how to fix it or any solution

the link is here : [https://arcade.makecode.com/S08313-28907-03701-75646](https://arcade.makecode.com/S08313-28907-03701-75646)

---

<div class="post-metadata">

**Author:** ![saintsony](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@saintsony](https://forum.makecode.com/u/saintsony)\
**Post date:** [November 9, 2022, 6:03pm UTC](https://forum.makecode.com/t/i-need-help-for-tilemap-issue/16015/2 "2022-11-09T18:03:11Z")

</div>

still need help

---

<div class="post-metadata">

**Author:** ![ignatio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ignatio/32/7106_2.png) [@ignatio](https://forum.makecode.com/u/ignatio)\
**Post date:** [November 10, 2022, 1:19am UTC](https://forum.makecode.com/t/i-need-help-for-tilemap-issue/16015/3 "2022-11-10T01:19:20Z")

</div>

I disabled the block that says set hero in screen and it worked like it should.

![myhero](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/6b20ae3de9f41624379186b1fdde425516e6bb0b.jpeg)

I think what was happening was that you were trying to teleport the hero sprite off screen and it was snapping the sprite to the centre of the map instead.
