### 4.1.1 Global Variables

- `int EZ_PointerCoordinates[2]` This variable holds the coordinate of the pointer relative to the upper-left corner of the widget window.

- `int EZ_MouseX, EZ_MouseY`. These two variable hold the current pointer location in an widget window. The position is measured relative to the lower-left corner of the widget window, offseted by the border width. These two variables are meant for 3DCanvas widgets, they are the screen coordinates of the pointer in the current viewport.

- `int EZ_PressedKey`. This variable holds the keycode translation of the last pressed key.

- `int EZ_ButtonState`. This variable holds current state of all mouse buttons. There are three macros associated with this variable. They report the state of a specific button.

  - `EZ_Button1Down()`

  - `EZ_Button2Down()`

  - `EZ_Button3Down()`

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`