---
title: extrusionDepth
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scntext/extrusiondepth
---

# extrusionDepth

The extent of the extruded text in the z-axis direction. Animatable.

## Declaration

```swift
var extrusionDepth: CGFloat { get set }
```

## Discussion

Discussion The geometry is centered along the z-axis of its local coordinate space. For example, if its extrusion depth is is 1.0, the geometry extends from -0.5 to 0.5 along the z-axis. An extrusion depth of 0.0 (the default) creates a flat, one-sided shape. You can animate changes to this property’s value. See Animating SceneKit Content.

## See Also

### Managing the Text’s 3D Representation

- [flatness](scenekit/scntext/flatness.md)
- [chamferRadius](scenekit/scntext/chamferradius.md)
- [chamferProfile](scenekit/scntext/chamferprofile.md)
