---
title: "init(radius:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/clothsphereshape/init(radius:)"
---

# init(radius:)

Creates a sphere shape with the given radius.

## Declaration

```swift
init(radius: Float)
```

## Parameters

- `radius`: The radius of the sphere.
