Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Moving the cursor to a specific position via lua

  • #1, by marvel 14 years ago Zitieren
    Hi there,
    is there a chance to move the cursor to a special position on the screen via lua? Thanks for help! smile
  • #2, by afrlme 14 years ago Zitieren
    it's in the player commands in the wiki - I have provided examples for both getCursorPos & setCursorPos smile

    *edit: or did you mean have it move to a position by moving across the screen rather than being set?
    if so - it is possible, but it won't necessarily be very smooth.
  • #3, by marvel 14 years ago Zitieren
    Thanks lee. You still be my lua-hero! grin
  • #4, by afrlme 14 years ago Zitieren
    haha thomas razz

    I'd wait & see how Dundil's custom event handler system turns out before proclaiming me as your lua hero! grin