layered raycasting | ScratchStats