# GetFocusPosition

The GetFocusPosition function returns the current focus position of the lens.

Note: The GetFocusPosition function is not supported for the In-Sight ViDi PC.

## GetFocusPosition Inputs

Parameter | Description
Event | Specifies the spreadsheet event on which to read data. This parameter must be a reference to one of the following: The Image data structure in cell A0, containing the AcquireImage function. A cell containing an Event function. A cell containing a Button function.

## GetFocusPosition Outputs

Returns | The current focus position value when the event is triggered, or #ERR if the current position cannot be determined.