---
title: "Parameters"
url: "https://help.maxon.net/c4d/en-us/Content/html/GVNEARESTPOINT-ID_GVPORTS.html"
section_path: "XPresso > XPresso Nodes > General > Get Nearest Point Operator > Parameters"
element_id: "GVNEARESTPOINT"
group_id: "ID_GVPORTS"
description: "Here you can link the polygon object on which the next point position should be calculated."
---

## Parameters

### Object

Parameter ID: `GV_NEARESTPOINT_INPUT_SOURCEOBJECT`

Here you can link the polygon object on which the next point position should be calculated.

### Global Position

Parameter ID: `GV_NEARESTPOINT_INPUT_GLOBALPOSITION` · Range: [XYZ ]

Here you can enter the position to which the shortest distance from the object should be calculated.

### Point Index

Parameter ID: `GV_NEARESTPOINT_OUTPUT_POINTINDEX` · Range: [-2147483648..2147483647]

Here the point index (all polygonal object points are numbered, see also Structure Manager) of the nearest object point will be output.

### Point

Parameter ID: `GV_NEARESTPOINT_OUTPUT_POINT` · Range: [XYZ ]

Here the spatial position of the nearest object point is output as a vector.

### Distance

Parameter ID: `GV_NEARESTPOINT_OUTPUT_DISTANCE` · Range: [-∞..+∞]

Here the distance between the **Global Position** and the nearest object point is output.

### Difference Vector

Parameter ID: `GV_NEARESTPOINT_OUTPUT_DIFVECTOR` · Range: [XYZ ]

The **Difference Vector** is the direction vector that shows the object point nearest to the **Global Position**.
