bool Visible { get; set; }

robot_2Generated
code_blocksInput

Description

The Visible property of the MapNode class indicates whether the map node is currently visible. This property is useful for determining if a node has been hidden by the user or is otherwise not displayed in the editor.

Usage

To check if a MapNode is visible, access the Visible property. You can also set this property to true or false to change the visibility of the node.

Example

// Example of using the Visible property
MapNode node = new MapNode();

// Check if the node is visible
bool isVisible = node.Visible;

// Set the node to be invisible
node.Visible = false;

// Set the node to be visible
node.Visible = true;