Passing through object when clicking

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 using the the Picking library 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!

In my opinion see screenX screenY equivalent in p5.js

so it’s another way of picking: each cube stores it’s 2D screen pos.

When the mouse is clicked, check mouseX,mouseY against the 2D screen pos using dist() command