support for color sensors in 2d model