MZ galv layer graphics on/off

I'm using galv layer graphics right now and I'm wondering how to turn on and off certain layers when I press the button
Hi!

You can try a parallel event that check if the button is pressed, if yes, you can try change the layer opacity/visibility, or even remove/add it.
Thank you for your answer

Should I type in the script?
To change the opacity of the layer
LAYER_S3 Light 1000 255 113
How do I enter it?
Thank you for your answer

Should I type in the script?
To change the opacity of the layer
LAYER_S3 Light 1000 255 113
How do I enter it?
Check the plugin help file to understand how to change the opacity/visibility or how to remove/add a layer.

Original thread: https://forums.rpgmakerweb.com/threads/galv-layer-graphics-on-off.160031/