inpGetMouseX

Returns current mouse cursor X coordinate in window space. Takes no parameters. Returns integer X position (horizontal pixel coordinate, 0=left edge of window).

Input

Parameters & Returns

Parameters

This function takes no parameters.

Returns

Int

Quick Summary

Returns current mouse cursor X coordinate in window space. Takes no parameters. Returns integer X position (horizontal pixel coordinate, 0=left edge of window).

Technical Exegesis...

Returns current mouse cursor X coordinate in window space. Takes no parameters. Returns integer X position (horizontal pixel coordinate, 0=left edge of window). Queries mouse cursor position relative to window client area, updates automatically each frame.

Coordinate system: 0=left edge of window (minimum X), increases rightward (positive direction), window width-1=right edge (maximum X, e.g.

Example

Example.bam
; No example implemented yet