I found a glitch in the game where if u keep the mirror horizontally straight and into an object at the path where the ray passes through, it goes through without a problem
If you want to try Unity, go to learn.unity.com and try their beginner course to learn C # and everything, or check out the How to Make a Game course by Brackeys! (I recommend checking out both!)