---
title: removeFromParent()
framework: spritekit
role: symbol
role_heading: Type Method
path: spritekit/skaction/removefromparent()
---

# removeFromParent()

Creates an action that removes the node from its parent.

## Declaration

```swift
class func removeFromParent() -> SKAction
```

## Return Value

Return Value A new action object.

## Discussion

Discussion When the action executes, the node is immediately removed from its parent. This action is not reversible; the reverse of this action is the same action.
