# For phaser 3 collides and teleport with Tiled

**URL:** <https://phaser.discourse.group/t/for-phaser-3-collides-and-teleport-with-tiled/11737>\
**Category:** Phaser 3\
**Created:** [May 20, 2022, 4:05pm UTC](https://phaser.discourse.group/t/for-phaser-3-collides-and-teleport-with-tiled/11737 "2022-05-20T16:05:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingmiclong](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/kingmiclong/32/6557_2.png) [@kingmiclong](https://phaser.discourse.group/u/kingmiclong)\
**Post date:** [May 20, 2022, 4:05pm UTC](https://phaser.discourse.group/t/for-phaser-3-collides-and-teleport-with-tiled/11737/1 "2022-05-20T16:05:14Z")

</div>

Hi, I am trying to figure out how to hit the collides blocks and teleport to the Objects tiles, I am not sure how to do it, but I tried to make the left 4 blocks as tp layer with collides, and right side with Objects name teleport, and in update()

```
     if(this.player.collides.tpLayer){
        this.player.setposition(teleport.x , teleport.y)
    }

```

![Screenshot 2022-05-19 165719](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/4/401fd487021d288001fbce4752427154ba5f4b0a.jpeg)
