Hey everyone! So here’s my obstacle. I am working on an inventory menu using the canvas layers. I have buttons working just fine. I messed around with the visibility with a canvas group adjusting the Alpha switching between 0 to 1 and vice versa.
The top layer that I’m messing with the Alpha is blocking the buttons below it even when it’s at 0, I need to set it so that Blocks Raycasts is only enabled when the Alpha is at 1. GetComponent I believe is used but I don’t know how to reference the Blocks Raycasts in code.
Thanks in advance!