# SetObjectReceiveShadow

## Description

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

## Definition

SetObjectReceiveShadow( objID, mode )

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

## Parameters

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