Pointer-Event: None like property for p5.js?

Hello,
So I was wondering if there is any way of making a click pass through from an object at front to an object behind, I’m in a 3D canvas
I have a cube made of boxes, and would like to show the stroke of boxes around the center box, but the click to be made to the box in the center.
Thanks in advance!