made it such that teleporter only work on Y and Z direction