MV Is there a way to pause a move picture command?

Let’s say you have a switch and the picture is mid-way on completing a move picture command, is there a way that when you hit the switch, the picture pauses, and continues it’s path once you hit the switch again? Like an on and off?

If so, can it be done with individual pictures? So if there are several pictures moving, you can pause one and the others still finish their move commands?
there might be a way, but I didn't test it, but should be doable around:

move picture x += 300
if picture switch is on,
picture x = x
else
nothing here, so it should continue to move.
end

or use movement based on variable, which is probably easier to control
to stop and continue with += 1 to move till x = N is hit.
I think it stops movement if you set the picture _duration to 0.

$gameScreen.picture(1)._duration = 0

Before that you can save the duration to a variable and when you want to continue moving the picture set the duration back to the saved variable.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-pause-a-move-picture-command.163723/