VisualElement.pickingMode

public UIElements.PickingMode pickingMode;

Description

Determines if this element can be the target of pointer events or picked by IPanel.Pick queries.

Elements can not be picked if:

  • They are invisible
  • Their style.display is set to DisplayStyle.None

Elements with a picking mode of PickingMode.Ignore never receive the hover pseudo-state.

Additional resources: VisualElement.visible, IStyle.display


Did you find this page useful? Please give it a rating: