# RotateObjectGlobalX

## Description

Rotates the specified object around global X axis. Imagine the camera looking down the Z axis at an object with a random rotation. This command will pitch the object up and down relative to the camera regardless of which way the object is facing.

## Definition

RotateObjectGlobalX( objID, amount )

void agk::RotateObjectGlobalX( UINT objID, float amount )

## Parameters

- objID - The ID of the object to modify.
- amount - The angle to rotate on the global X axis in degrees, positive pitches down, negative pitches up.