Eliminar al niño de la escena Swift

if let child = self.childNode(withName: "object") as? SKSpriteNode {
    child.removeFromParent()
}
Elegant Eagle