Environment.GetAllLabelsUnderMouseCursor Method
Parameters
- mousePos
- Point
Mouse position in screen coordinates
- selectableOnly
- bool
When true, checks the Entity.Selectable property, otherwise no.
Return Value
int[]The list of label indices.
The sensitivity is affected by the PickBoxSize parameter.
Only the labels that are visible on screen and in the selectionBox are considered, the ones covered by other labels are not considered.