# G2_GetOBJColorParam

## Syntax

      #include <nitro/gx/g2_oam.h>

      int G2_GetOBJColorParam(const GXOamAttr * oam);

## Arguments

oam | Pointer to the location storing the OAM data

## Return Values

The color parameter. Obtains the palette number when the OBJ mode is set to something other than bitmap OBJ. Returns the alpha value of the OBJ when the OBJ mode is bitmap OBJ.

## Description

*Gets the color parameter for the OAM data stored in *oam.

## See Also

`G2_SetOBJAttr, G2_SetOBJMode`

## Revision History

2004/06/09 Initial version.

CONFIDENTIAL