Click or drag to resize

ControlSetFocusNeighbour Method

Note: This API is now obsolete.

Sets the anchor identified by margin constant from Margin enum to Control at neighbor node path. A setter method for FocusNeighbourBottom, FocusNeighbourLeft, FocusNeighbourRight and FocusNeighbourTop.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetFocusNeighbour is deprecated. Use the FocusNeighbourBottom property instead.")]
public void SetFocusNeighbour(
	Margin margin,
	NodePath neighbour
)

Parameters

margin
Type: GodotMargin

[Missing <param name="margin"/> documentation for "M:Godot.Control.SetFocusNeighbour(Godot.Margin,Godot.NodePath)"]

neighbour
Type: GodotNodePath

[Missing <param name="neighbour"/> documentation for "M:Godot.Control.SetFocusNeighbour(Godot.Margin,Godot.NodePath)"]

See Also