Click or drag to resize

ControlGetFocusNeighbour Method

Note: This API is now obsolete.

Returns the focus neighbour identified by margin constant from Margin enum. A getter method for FocusNeighbourBottom, FocusNeighbourLeft, FocusNeighbourRight and FocusNeighbourTop.

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

Parameters

margin
Type: GodotMargin

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

Return Value

Type: NodePath

[Missing <returns> documentation for "M:Godot.Control.GetFocusNeighbour(Godot.Margin)"]

See Also