# SetGlobal3DDepth

## Description

Sets the position of all 3D objects relative to 2D objects. For example using a global 3D depth of 100 would mean that all sprites at a depth less than or equal to 100 would appear above any 3D objects whilst sprites at a depth greater than 100 would appear below any 3D objects.

## Definition

SetGlobal3DDepth( depth )

void agk::SetGlobal3DDepth( int depth )

## Parameters

- depth - The sprite depth to render 3D.