Instance Property

isHidden

A Boolean value that determines whether a node and its descendants are rendered.

Declaration

var isHidden: Bool { get set }

Discussion

When hidden, a node and its descendants are not rendered. However, they still exist in the scene and continue to interact in other ways. For example, the node’s actions still run and the node can still be intersected with other nodes. The default value is false.

See Also

Altering Node Visibility

var alpha: CGFloat

The transparency value applied to the node’s contents.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software