This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
functions:cursordeltax [2017/05/29 18:08] – korshun | functions:cursordeltax [2017/05/29 18:08] (current) – korshun | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Description ===== | ===== Description ===== | ||
- | Returns the difference between the current [[:cursor]] position and the position during the previous tic. | + | Returns the difference between the current [[: |
Note that if the cursor is moved towards the edge of the screen in a non-wrapping mode, the position difference will be 0. To measure the velocity of the attempted mouse motion, use [[CursorMotionX]] and [[CursorMotionY]]. | Note that if the cursor is moved towards the edge of the screen in a non-wrapping mode, the position difference will be 0. To measure the velocity of the attempted mouse motion, use [[CursorMotionX]] and [[CursorMotionY]]. |