---
title: entities
framework: gameplaykit
role: symbol
role_heading: Instance Property
path: gameplaykit/gkscene/entities
---

# entities

The list of GameplayKit entities managed by the scene.

## Declaration

```swift
var entities: [GKEntity] { get }
```

## Discussion

Discussion When you add entities (and their components) to a scene in the Xcode SpriteKit scene editor, Xcode automatically adds them to this array.

## See Also

### Managing Entities and Components

- [addEntity(_:)](gameplaykit/gkscene/addentity(_:).md)
- [removeEntity(_:)](gameplaykit/gkscene/removeentity(_:).md)
