Have you checked this tutorial too ?
I think the way it's proposing is the most simple and is accurate since it relies on the player's inputs.
If you want to check though if the character has moved since the last tick, you need to:
Begin by keeping the current coordinates in a variable (global or instance variable, your choice)
Have the player input move the character
Then test if the current character X position is higher or less than the stocked value.
I don't believe this is more accurate than mirroring or not on player's input...
Your version as a capx