- Function
Return the position of the mouse.
- Header
- Declaration
void __fastcall__ mouse_pos (struct mouse_pos* pos);
- Description
The function returns the position of the mouse in the
mouse_pos
structure passed as parameter.- Limits
- The
mouse_pos
struct is a subset of themouse_info
struct, so if you do also need the mouse buttons, callmouse_info
instead.- The function is only available as fastcall function, so it may only be used in presence of a prototype.
- Availability
cc65
- See also
- Example
None.