How to make a wall transparent if it comes inbetween the player and character?

I’m making a maze game with a cube part as a character, but I just realized that the walls intercept the camera and make it hard to play. I’ve seen this thing where the wall becomes transparent if it comes in between the player and the camera. I don’t remember where, but I know it’s possible.

here’s what it looks like, I want to make that wall slightly transparent.
https://gyazo.com/cf9b233864c67f4886fa6d4181c4cb2c

Raycast from the camera’s position to the character, if the raycast result hits something other than the player, make that part transparent.

Totally forgot that you can set the StarterPlayer.DevCameraOcclusionMode to invisicam. So do that instead, and all parts that block the character from that camera will go invisible until they’re out of the way.