Rectangle variable, Get Position activity

How do I use Rectangle variables in UiPath? Especially the output of the Get Position activity. Any examples of passing Rectangle variables as input into other activities?

@DEATHFISH

GetPosition.xaml (7.5 KB)

The Get Position will return Rectangle variable type.
The Rectangle object property : x, y, width and height.
myRectangle.X will return the X coordinate etc.

image

1 Like

Any examples on how to pass Rectangle variables to other activities?

Please let me know which activity use the Rectangle as input variable type.

If an activity takes Clipping Region as an input, how do I use the Rectangle variable to do this?

Any practical example?