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

Inspecting a Node’s Visibility

var alpha: CGFloat

The transparency value applied to the node’s contents.