---
title: "init(radius:)"
framework: scenekit
role: symbol
role_heading: Initializer
path: "scenekit/scnsphere/init(radius:)"
---

# init(radius:)

Creates a sphere geometry with the specified radius.

## Declaration

```swift
convenience init(radius: CGFloat)
```

## Parameters

- `radius`: The radius of the sphere in its local coordinate space.

## Return Value

Return Value A new sphere geometry.

## Discussion

Discussion The sphere is centered in its local coordinate system. For example, if you create a sphere whose radius is 5.0, it extends from -5.0 to 5.0 along each of the the x, y, and z-axes.
