# SetObjectAlpha

## Description

Sets the alpha value to use when drawing this object. This is the same alpha value that can be set in SetObjectColor. Values should be in the range 0-255 but are not limited to it.

## Definition

SetObjectAlpha( objID, alpha )

void agk::SetObjectAlpha( UINT objID, int alpha )

## Parameters

- objID - The ID of the object to modify.
- alpha - The alpha component of the color.