Need some help

Hello guys,
I have a moving platform that is activated with a pressure plate when character steps on the plate.
Platform moves back-and-forth from “A” point to “B” point.
I want to make it in this way that if player steps-off the pressure plate, then platform stops moving.
And again if player/character steps on the pressure plate again then platform starts moving again from the same point where it stopped.
I am attaching Blueprints of both platform and pressure plate.
I am using event dispatcher for linking both blueprints platform and pressure plate.
Please help me with this problem.
I am not able to achieve this result.

Moving Platform Blueprint


Pressure Plate Blueprint