# setMaximumEyeGazeY method

void setMaximumEyeGazeY(

1. int maximumEyeGazeY

)

Sets the maximum value of the eye gaze alongside the Y axis. Hint: Default value is 10.

param maximumEyeGazeY Maximum value of the eye gaze alongside the Y axis. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setMaximumEyeGazeY(int maximumEyeGazeY) {
      var err = faceSDK.id3FacePortraitProcessor_SetMaximumEyeGazeY(_pHandle.value, maximumEyeGazeY);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }