Beta Documentation - Subject to change.

Gets the item at the specified position.

Syntax

Lua
function ListBox:GetItemAt(x, y);

Parameters

x
Type: number
y
Type: number

Returns

Type: Control
The item at the specified location in the list box otherwise if no item is there this will return nil.

Remarks

Gets the item at the specified position. If no item is at that position, this returns nil.

See Also