deltaX() → {number}
Returns the delta x value. The difference between Body.x now and in the previous step.
Returns
number - The delta value. Positive if the motion was to the right, negative if to the left.
Source code: physics/ninja/Body.js (Line 401)