public Vector2i Element.CenterClickLocation(double min = 0.20000000298023224, double max = 0.800000011920929)
Calculates a randomized point within this element using its geometry. Despite the name, this method does not send a click. Check the current UI state before passing a coordinate to an input API; consult this overload's parameters for its sampling bounds.
Vector2iA two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
Parameters
min- Parameter type:
doubleNo current DPB page is linked for this built-in, external, generic or compatibility-only type.a value between 1 and 0 multiplayed width and height to reduce the search boundry
max- Parameter type:
doubleNo current DPB page is linked for this built-in, external, generic or compatibility-only type.a value between 1 and 0 multiplayed width and height to reduce the search boundry
Returns: The Vector2i result.