nudge_cursor(3)
hiii bestie β¨ welcome to the nudge_cursor(3) page from the Arcan Lua API π¦ this one is short and sweet, and yes weβre keeping every tiny detail, periodt π
π NAME π
nudge_cursorβ moves the mouse cursor relative to its current position π±οΈβ¨
β¨ SYNOPSIS β¨
the synopsis has a literal nil line first β no cap, thatβs just how it is π β then the call:
nil
nudge_cursor( d_x, d_y, clamp )
π DESCRIPTION π
okay so hereβs the whole vibe: if clamp is set to a non-zero value (and the default is 0), then the coordinates will NOT be clamped to fit the screen ππ₯.
π EXAMPLE π
hereβs the example, copied exactly because we do not play with code π :
function nudge_cursor0()
move_cursor(VRESW * 0.5, VRESH * 0.5);
print(cursor_position());
nudge_cursor(15, -15);
print(cursor_position());
end
π SEE ALSO: π
imageβ thatβs the reference listed, go peek at it if youβre curious π
mwah π and thatβs a wrap! footer crumbs for the record: source/version image, date October 2026 β the nudge_cursor(3) page is done, slay ππ
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms