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

GraphElement.IsSelected

Declaration

public bool IsSelected(UIElements.VisualElement selectionContainer);

Parameters

selectionContainer The container.

Returns

bool Returns true if the GraphElement is selected. Returns false otherwise.

Description

The GraphElement is currently selected in specific container.