Click or drag to resize

NodeGetNodeOrNull Method (NodePath)

Similar to GetNode(NodePath), but does not log an error if path does not point to a valid Node.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Node GetNodeOrNull(
	NodePath path
)

Parameters

path
Type: GodotNodePath

[Missing <param name="path"/> documentation for "M:Godot.Node.GetNodeOrNull(Godot.NodePath)"]

Return Value

Type: Node

[Missing <returns> documentation for "M:Godot.Node.GetNodeOrNull(Godot.NodePath)"]

See Also