# set method

void set(

1. int index,
2. TrackedFace trackedFaceItem

)

Sets an item of the TrackedFaceList object.

param index Index of the TrackedFace item to set. param trackedFaceItem TrackedFace item to set. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void set(int index, TrackedFace trackedFaceItem) {
      var err = faceSDK.id3TrackedFaceList_Set(_pHandle.value, index, trackedFaceItem.handle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }