Type Method

hide()

Creates an action that hides a node.

Declaration

class func hide() -> SKAction

Return Value

A new action object.

Discussion

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.