If you mean to set the player's Pitch, Use: PHP: $player->setRotation($yaw, $pitch); An example: PHP: $yaw = $player->getYaw();for ($pitch = $player->getPitch(); $pitch += 20; $pitch++) { $player->setRotation($yaw, $pitch);}