---
title: "init(scene:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/system/init(scene:)"
---

# init(scene:)

Creates a new system.

## Declaration

```swift
@MainActor @preconcurrency init(scene: Scene)
```

## Parameters

- `scene`: The scene this system affects.

## Mentioned in

Implementing systems for entities in a scene

## Discussion

Discussion There’s no need to instantiate your own systems, so don’t call this method. Instead, register your system with RealityKit by calling registerSystem(). RealityKit automatically creates an instance of every registered system for every scene.
