multilayered raycasting | ScratchStats