method
Input.mouse_x
Input.mouse_x() -> int
The mouse's x position this frame — fed by the window when windowed, or by Input.set_mouse otherwise.
Example
program Demo {
entry {
Input.set_mouse(10, 20, 0, 0)
Input.poll()
print(Input.mouse_x())
}
}