Contents

entities

The list of GameplayKit entities managed by the scene.

Declaration

var entities: [GKEntity] { get }

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