I am currently handling it like this:
current = e.pos(); xdelta = current.x - previous.x; ydelta = current.y - previous.y; previous = current;
I'm just wondering if there is a built in solution that I missed.
I am currently handling it like this:
current = e.pos(); xdelta = current.x - previous.x; ydelta = current.y - previous.y; previous = current;
I'm just wondering if there is a built in solution that I missed.