|
NAMEmove_cursor - Set an absolute position for the mouse cursor.SYNOPSISnilmove_cursor( x, y, clamp ) DESCRIPTIONIf clamp is set to a non-zero value (default, 0) x and y will NOT be clamped to fit the screen.EXAMPLEfunction 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_position(3)
Visit the GSP FreeBSD Man Page Interface. |