How to make occluded part of meshes not pickable

Hello, I’ve created playground for my issue: https://playground.babylonjs.com/#T2DGCK#1

What I’m trying to achieve is to make parts of boxes that are occluded not pickable and occluder should not be pickable either. So basically in scene.onPointerObservable.add() callback function pointerInfo.pickInfo.pickedMesh should be undefined when I hover over occluded parts.

You would need to keep the occluder pickable and exclude them manually either through the scene.pointerMovePredicate or in your onPointerObservable.