# SetObjectCastShadow

## Description

Sets an object to cast shadows on other objects. By default this is set to 0. An object can be set to both cast and receive shadows.

## Definition

SetObjectCastShadow( objID, mode )

void agk::SetObjectCastShadow( int objID, int mode )

## Parameters

- objID - The ID of the object to cast shadows
- mode - 1 to make this object cast shadows, 0 to stop it casting shadows