control multiple pictures

is there any method by using variable (or script?)
which can just use 1~2 command move all the pictures at same time instead of setting them all manually?
Code:
for (var i = 1; i <= 100; i++) $gameScreen.movePicture(i, origin, x, y, scaleX,
                                             scaleY, opacity, blendMode, duration)

Origin should be 0 if you want it top left corner, blendMode should be 0 for default too if I remember correctly. Opacity is max 255. Scale 1 means 100%. Duration is in frames.
thank you!
how about I want them move 2 times?
how to type this?
I try the following but not work
for (var i = 1; i <= 100; i++) $gameScreen.movePicture(i, origin, x, y, scaleX,
scaleY, opacity, blendMode, duration)
$gameScreen.movePicture(i, origin, x, y, scaleX,
scaleY, opacity, blendMode, duration)
You cannot queue movements, so you need to wait until the first one is 100% done until you can fire the second one.
Also, it's an unique feature of one-liners that after
Code:
for (whatever) //code
there are no brackets. If it's not an one-liner, then it needs to be
Code:
for (whatever) {
//code
}
thanks!

Original thread: https://forums.rpgmakerweb.com/threads/control-multiple-pictures.112127/