How to change picture opacity only?

I have to make a lot of images transparent for a while and make them visible again later, but I want to keep them in the same position.

I have a script like this:

JavaScript:
// movePicture(pictureId, origin, x, y, scaleX, scaleY, opacity, blendMode, duration)
for(var i=1;i<=30;i++) $gameScreen.movePicture(i, 0, x, y, 100, 100, 0, 0, 10);

but I don't know how to set x and y.

Is there any way to change picture opacity only?

Maybe a function liker this?: $gameScreen.changeOpacity()
$gameScreen.picture(id)._opacity = 0
Thank you, but for some reason is not working, I did it this way:

JavaScript:
for(var i=1;i<=30;i++)$gameScreen.picture(i)._opacity=0;
for (var i = 1; i <= 30; i++) { $gameScreen.picture(i)._opacity = 0 }
Thank you Shaz, but it didn't work.

I finally solved the problem!

If anyone is having this problem, here is a script to change pictures position and opacity separately:

JavaScript:
for(var i=1;i<=30;i++)$gameScreen.changeOpacity(i,0,10);

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-picture-opacity-only.130428/