You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recognition area coordinates. Optional, default [0, 0, 0, 0], i.e. full screen.
431
-
- *array<int, 4>*: Recognition area coordinates, [x, y, w, h], if you want full screen, you can set it to [0, 0, 0, 0].
431
+
- *array<int, 4>*: Recognition area coordinates, [x, y, w, h], if you want full screen, you can set it to [0, 0, 0, 0].
432
+
Supports negative values: negative x or y means calculating from the right or bottom edge of the image; w or h of 0 means extending to the edge, negative means taking absolute value and treating (x, y) as the bottom-right corner instead of top-left. For example, `[-100, -100, 0, 0]` represents the area from the bottom-right corner 100 pixels inward to the edge; `[200, 200, -100, -50]` represents a 100x50 area with (200, 200) as bottom-right corner, i.e., `[100, 150, 100, 50]`.
433
+
- *array<int, 2>*: Fixed coordinate point `[x, y]`. Supports negative values with the same meaning as above.
432
434
- *string*: Fill in the node name, and identify within the target range identified by a previously executed node.
433
435
434
436
- `roi_offset`: *array<int, 4>*
@@ -801,8 +803,8 @@ Additional properties for this action:
801
803
The position of the click target. Optional, default is true.
802
804
-*true*: The target is the position just recognized in this node (i.e., itself).
803
805
-*string*: Enter the node name, as the target, to use the position recognized by a previously executed node.
804
-
-*array<int, 2>*: Fixed coordinate point `[x, y]`.
805
-
-*array<int, 4>*: Fixed coordinate area `[x, y, w, h]`. A point is sampled inside the rectangle with higher probability near the center and lower probability near the edges. To target the entire screen, set it to [0, 0, 0, 0].
806
+
-*array<int, 2>*: Fixed coordinate point `[x, y]`. Supports negative values, meaning calculating from the right or bottom edge of the image. For example, `[-100, -100]` represents a position 100 pixels from the bottom-right corner.
807
+
-*array<int, 4>*: Fixed coordinate area `[x, y, w, h]`. A point is sampled inside the rectangle with higher probability near the center and lower probability near the edges. To target the entire screen, set it to [0, 0, 0, 0]. Supports negative values: negative x or y means calculating from the right or bottom edge of the image; w or h of 0 means extending to the edge, negative means taking absolute value and treating (x, y) as the bottom-right corner.
806
808
807
809
-`target_offset`: *array<int, 4>*
808
810
Additional movement from the `target` before clicking, where the four values are added together. Optional, default is [0, 0, 0, 0].
0 commit comments