---
title: height
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scncone/height
---

# height

The extent of the cylinder along its y-axis. Animatable.

## Declaration

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

## Discussion

Discussion The cone is centered in its local coordinate system. For example, if a cone has a height of 10.0, its base lies in the plane whose y-coordinate is -5.0 and its top has a y-coordinate of 5.0. The default height is 1.0. A height 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 Cone’s Dimensions

- [topRadius](scenekit/scncone/topradius.md)
- [bottomRadius](scenekit/scncone/bottomradius.md)
