Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

IPanel.Pick

public UIElements.VisualElement Pick(Vector2 point);

Parameters

pointWorld coordinates.

Returns

VisualElement Top VisualElement at the position. Null if none was found.

Description

Returns the top element at this position. Will not return elements with pickingMode set to PickingMode.Ignore.

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