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)
}