# CreatorAPI.switchToScene
Switches to a different scene

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## CreatorAPI.switchToScene property

Switches to a different scene

**Signature:**

```typescript
switchToScene: (scene: Scene) => void;
```

## Example

```ts
creator.switchToScene(scene2);
```
