dx
Returns the step's horizontal displacement for an entity at currentX, advancing the pointer latch.
Reads the current Step's input through the arbitration above and latches the pointer sample — call once per step, from the one place that moves the followed entity.
Return
The displacement to apply this step, in model units.
Parameters
currentX
The followed entity's current x-coordinate.