Answers for "remove child from scene swift"

0

remove child from scene swift

if let child = self.childNode(withName: "object") as? SKSpriteNode {
    child.removeFromParent()
}
Posted by: Guest on March-21-2020

Code answers related to "remove child from scene swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language