Light and mirror puzzle

To clarify, I'm trying to create this type of puzzle, in which the player needs to redirect beams of light to a target using mirrors. Since this is RPG Maker, I would make it very simple in that the mirrors can only be pulled and pushed into position, and rotated to face up, down, right, or left.
Is this possible? Do I need plugins?
plugin could make it easier if you want it more Dynamic?
like QJ_Projectile for using beams, but can be complex.

there is another plugin for it, but don't know the name.

but you can also fully event it, this require 1 variable per mirror,
and evented means (length to another mirror or events in between).

with the variable, you can set it to 0-1-2-3 (N, W, S,E) or whatever direction first.
from there, you can event direction and beams and what should be active.

but this require scriptcall to check the previous mirror to be the value and
before that, so it can be activated.

you can also use SelfSwitches that should be ON, from starting light to
end goal (which I did).

but there are multiple methods, depends what route you want to take.
Push is easiest as you would do:
1742482582999.png

Pull is harder as you may have followers and then there is a matter of how to give the game a command that you start pulling. You will not activate a mirror event by walking away from it. So it would be easier to stick to just push and then limit the area so that the mirror is not stuck and the map end.

Rotation can be done by introducing a button somewhere that rotates the specific tile. So you would need to push a mirror into that tile and then press button to rotate it 90 degrees.
1742483100409.png

Then there is a matter of checking the light ray. You have all your mirror positions and light ray position, and in similar way to X,Y a Direction or mirrors can also be saved into variable. So in theory it is possible to do such check but complexity depends on mirror setup and if there is only 1 or more solutions to the puzzle.

Hope this helps you start.
Hope this helps you start.
Thanks for the explanation!
I didn't like only being able to push the mirrors because I'd need an empty border around the edge, but when I tested different methods of pulling, they always got messed up by the followers. I couldn't think of any other good solution that didn't involve just getting rid of the followers temporarily, so what I ended up doing was just setting up a scene in which they decide to go off on their own for a few minutes. It's not a perfect solution, but it's preferable to everything else I could think of.
Now the player can push and pull the mirrors any way they want, and now I need to test the actual puzzle part of it, which I'm nervous about haha
Ok, now that I'm to the part with the actual light beam, I'm not sure how to move forward. I don't know how to display the beams bouncing between the mirrors, so I thought about making it a single mote of light that shoots out of the lightbulb (or whatever it ends up being) and bounces off of each mirror visibly- the second picture - but I realized there isn't a "if this event is touching this other event" conditional like I'm used to in other languages.

beam.png


mote.png
(Dashed line added to the second picture to show movement, wouldn't be in the actual game)

I think I can easily make an event that checks if the mirrors are in the correct position, but it's showing the light that's causing me trouble. So is there some obvious solution I'm missing? I really don't know how to make it work.
if you use variable for mirror rotation, you check if mirror 1 (closest to light)
is equal to 0,1,2 or 3.

on the 2nd event, you check if mirror 1 is equal or check selfSwitch is on.
on mirror 3, check for mirror 1 and 2 to be correct.

you can turn on an event with the lightbeam from there.
its a way how I did mine (but I use QJ to light the beam).

but you can use event to illusion the beams to be fired.

this only require checks and the beam is to show.
if you want to move the beam longer more realistic, this require more
steps to make it work nicely.
Sorry for taking so long to update, I was too busy to work on the game for a while.
I'm having some sort of issue, but it's too complicated to explain and the event page is super long, so would it be possible for me to share my prototype and have someone take a look at the issue? Or should I just post screenshots of the event page? I genuinely have no idea why it isn't working, and I've checked over the code half a dozen times already.

Edit: I've actually decided to go with a different puzzle for this section of the game, since it's for a game jam and this one has been eating up a ton of time. Thanks so much to everyone who helped, though, I plan to use this puzzle in a different project eventually when I have more time <3

Original thread: https://forums.rpgmakerweb.com/threads/light-and-mirror-puzzle.176381/