Click or drag to resize

AStar2DSetPointDisabled Method

Disables or enables the specified point for pathfinding. Useful for making a temporary obstacle.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetPointDisabled(
	int id,
	bool disabled = true
)

Parameters

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Godot.AStar2D.SetPointDisabled(System.Int32,System.Boolean)"]

disabled (Optional)
Type: SystemBoolean

[Missing <param name="disabled"/> documentation for "M:Godot.AStar2D.SetPointDisabled(System.Int32,System.Boolean)"]

See Also