---
title: width
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnplane/width
---

# width

The extent of the plane along its horizontal axis. Animatable.

## Declaration

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

## Discussion

Discussion The plane is centered in its local coordinate system. For example, a plane of width 10.0 extends from -5.0 to 5.0 along the x-axis. The default width is 1.0. A width of zero or less creates an empty geometry. You can animate changes to this property’s value. See Animating SceneKit Content.

## See Also

### Adjusting a Plane’s Dimensions

- [height](scenekit/scnplane/height.md)
