This version of Unity is unsupported.

VisualElement.pickingMode

public UIElements.PickingMode pickingMode;

Description

Determines if this element can be pick during mouseEvents or IPanel.Pick queries.