Click or drag to resize

ObjectGet Method

Returns the Variant value of the given property. If the property doesn't exist, this will return null.

Note: In C#, the property name must be specified as snake_case if it is defined by a built-in Godot node. This doesn't apply to user-defined properties where you should use the same convention as in the C# source (typically PascalCase).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Object Get(
	string property
)

Parameters

property
Type: SystemString

[Missing <param name="property"/> documentation for "M:Godot.Object.Get(System.String)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.Object.Get(System.String)"]

See Also