2d sensor