invalidObject
An error that indicates an object is invalid in a specific context.
Declaration
static var invalidObject: PHASEError.Code { get }Discussion
The addChild(_:) function throws this error if the specified child already has a parent in the scene graph hierarchy.