Shift your pet up and down to change its form. Make sure to shape the pet correctly so it can fit through the obstacles.