A control element for roof or window adjustment in a motor vehicle includes a surface and a sensor. The surface has an introduced recess and a surface portion. The surface portion is connected to the surface in a gap-free manner above the recess. The surface portion only partially covers the recess. The sensor is formed within the surface portion or is arranged onto the bottom side thereof to detect deformations of the surface portion.