# Sandbox.Scene.CreateObject

```csharp
GameObject CreateObject(bool enabled = True)
```

Create a GameObject on this scene. This doesn't require the scene to be the active scene.

### Parameters

- `enabled` (`bool`), default `True`

### Returns

`GameObject`

Declared in [Sandbox.Scene](/api/Sandbox.Scene).
Assembly: `Sandbox.Engine`.
