Type Method


Creates an action that hides a node.


class func hide() -> SKAction

Return Value

A new action object.


This action has an instantaneous duration. When the action executes, the node’s isHidden property is set to true.

This action is reversible; the reversed action shows the node.

See Also

Controlling Node Visibility

class func unhide() -> SKAction

Creates an action that makes a node visible.