Can we please see the solution?
It's nearly impossible to show it to you and would require a true wall of text to explain it, but if you want you can send me a message on Discord (Vexoriette#2473) and I can explain it there for you :)
But beware, I'm working with Unity so if you use another software I'm not sure if I can help you out with that.