This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

ISelectable.IsSelected

Declaration

public bool IsSelected(UIElements.VisualElement selectionContainer);

Parameters

selectionContainer Container in which the selection is tracked.

Returns

bool True if selected. False otherwise.

Description

Check if element is selected.