HGE::Input_GetMousePos
Returns current mouse cursor position.
void Input_GetMousePos(
float *x,
float *y
);
Parameters
- x
- Pointer to a float to store the mouse cursor X-coordinate to.
- y
- Pointer to a float to store the mouse cursor Y-coordinate to.
Remarks
Use Input_GetKeyState or
Input_GetKey
with HGEK_LBUTTON, HGEK_RBUTTON and HGEK_MBUTTON
virtual-key codes to obtain mouse buttons state.
Requirements
Header: hge.h
Import library: hge.lib
See also
Input_SetMousePos,
Input_GetMouseWheel,
Input_GetKeyState,
Input_GetKey
|