A push and pull mechanism, which enables for control buttons to come out of the control panel during the use of a home appliance and to enter into the control panel when the appliance is out of use, and enables to prevent the damages to control button and to take up less space during transportation of the appliance for which it is used; having a rectangular shaped outer structure, and comprising - at least one fixed part which provides the movement of a movable part and which enables it to be locked in forward and backward positions and to fasten to the element shaft that will be operated, - at least one latch which is placed on the movable part and which enables the movable part to be locked and unlocked, - at least one spring which moves in the movable part and fixed part and which can tighten and loosen for the movement of movable part on fixed part, and characterized by - at least one flexible part which is placed on movable part and which enables latch to spring and to be fixed in its place by applying force on the said latch, - at least one movable part having a hollow body whose one end is empty and the other one is closed and a cylindrical extension on which there are multiple axial and peripheral channels, and which provides connection with the button by extending outwards from the closed end of the body, - a base having a connection surface which is in a lower level than two of its flat surfaces said flat surfaces do not contact and are at same level, and said connection surface, connects said flat surfaces and has at least one recess in the surface which looks out of the mechanism, - a latch comprising at least one hole which enables to enter into the salience on the movable part, and at least one pin which enables to move in the cavity on the fixed part, - at least one connection spring which has bearing on fixed part and which enables the fixed part be intertwined with element shaft which will be operated, - at least one cover which is placed of the movable part and which enables to hold all parts together. - at least one fixed part which provides the movement of a movable part and which enables it to be locked in forward and backward positions and to fasten to the element shaft that will be operated, - at least one latch which is placed on the movable part and which enables the movable part to be locked and unlocked, - at least one spring which moves in the movable part and fixed part and which can tighten and loosen for the movement of movable part on fixed part, and characterized by - at least one flexible part which is placed on movable part and which enables latch to spring and to be fixed in its place by applying force on the said latch, - at least one movable part having a hollow body whose one end is empty and the other one is closed and a cylindrical extension on which there are multiple axial and peripheral channels, and which provides connection with the button by extending outwards from the closed end of the body, - a base having a connection surface which is in a lower level than two of its flat surfaces said flat surfaces do not contact and are at same level, and said connection surface, connects said flat surfaces and has at least one recess in the surface which looks out of the mechanism, - a latch comprising at least one hole which enables to enter into the salience on the movable part, and at least one pin which enables to move in the cavity on the fixed part, - at least one connection spring which has bearing on fixed part and which enables the fixed part be intertwined with element shaft which will be operated, - at least one cover which is placed of the movable part and which enables to hold all parts together.