中文
Node Documentation

Offset Point

DataTarget independentgeometry.offset-point

Add horizontal and vertical offsets to a coordinate. Ratio points are clamped inside the screen; pixel points keep their pixel unit.

Example use

Offset a template-match center horizontally to click an adjacent control.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 3

PointpointPoint

The action point; the value carries its unit, with ratio coordinates using the 0–1 image range.

RequiredDefault: None
Value format examples
{"unit":"ratio","x":0.5,"y":0.5}
{"unit":"px","x":640,"y":360}
X offsetoffset_xNumber

Horizontal offset to add in the point’s existing unit.

Default availableDefault: 0
Y offsetoffset_yNumber

Vertical offset to add in the point’s existing unit.

Default availableDefault: 0

Data outputs 1

ResultresultPoint

The result of this data operation, with its type determined by the matching inputs.

Value format examples
{"unit":"ratio","x":0.5,"y":0.5}
{"unit":"px","x":640,"y":360}
Version and node identity

Version 1.0.0

sha256:9b3984d12c801665786ecb21863ed0e8c20abaabd9f85625775df316edd085bb