# webgazer This extension supports eye tracking through the [WebGazer](https://webgazer.cs.brown.edu/) library. For a narrative description of how to use this extension see the [eye tracking overview](../overview/eye-tracking.md). ## Parameters ### Initialization Parameters Initialization parameters can be set when calling `initJsPsych()` ```js initJsPsych({ extensions: [ {type: jsPsychExtensionWebgazer, params: {...}} ] }) ``` Parameter | Type | Default Value | Description ----------|------|---------------|------------ webgazer | object | `undefined` | You can explicitly pass a reference to a loaded instance of the webgazer.js library. If no explicit reference is passed then the extension will look for a global `webgazer` object. If you are loading webgazer.js via a `