Simple way to detect movement or rotation?

Is this possible? I know its possible when you use variables that keep records and track back and forth when an x or y has changed or _rotation has changed, but is there any way to tell:

if(myObject has moved any pixels) {}

or

if(myObject has rotated any direction/amount) {}

?