@cypher2012 brrr

What exactly do you want to get? Just the direction? Or how fast? etc?

I’m not sure the exact code, but if you look at this page there are methods to get the last x/y and the current x/y. Once you have those its just a matter of comparing them.