Table of Contents

Method DescribeHitStackAt

Namespace
GrindFest
Assembly
GrindFest.dll

DescribeHitStackAt(Vector2, int)

Who would receive a click at this point? UI Toolkit hit-tests pointer events by position, so when a click does nothing the answer is usually "something else is on top". Returns the pickable elements under the point, topmost last (tree order).

public static string DescribeHitStackAt(Vector2 pos, int max = 5)

Parameters

pos Vector2
max int

Returns

string