I need help for tilemap issue

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

still need help

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

myhero

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.