FreeBSD Manual Pages
move_cursor(3) Arcan Lua API move_cursor(3) NAME move_cursor - Set an absolute position for the mouse cursor. SYNOPSIS nil move_cursor( x, y, clamp ) DESCRIPTION If clamp is set to a non-zero value (default, 0) x and y will NOT be clamped to fit the screen. EXAMPLE function move_cursor0() print(cursor_position()); local img = fill_surface(32, 32, 255, 0, 0); move_cursor(img, VRESW * 0.5, VRESH * 0.5); print(cursor_position()); end SEE ALSO: nudge_cursor(3) resize_cursor(3) cursor_setstorage(3) cursor_posi- tion(3) image December 2021 move_cursor(3)
NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=move_cursor&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>