---
title: radius
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scncylinder/radius
---

# radius

The radius of the cylinder’s circular cross section. Animatable.

## Declaration

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

## Discussion

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

## See Also

### Related Documentation

- [SCNCylinder](scenekit/scncylinder.md)

### Adjusting a Cylinder’s Dimensions

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