# SetElementDepth3D(Vector3)

> Set the element depth using the specified 3D position. The relevant axis will be extracted using the current _transformPlane. If PhysicsWorld.TransformPlane.Custom is used, the element depth is always set to zero. For more details, see _elementDepth.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.6/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public void SetElementDepth3D(Vector3 position)
```

### Parameters

**** (\[Vector3]\(/engine/6000.6/script-reference/unityengine/vector3)): The 3D position to extract the element depth from.
