A garment, especially a sports garment, having a section which at least partially covers the body of a wearer, wherein the section has at least one venting element for allowing an air flow to flow from the outside of the garment through the section into the inner of the garment for cooling a part of the body of the wearer. To improve the cooling during the movement of the wearer of the garment an actuating mechanism is arranged for opening and closing the venting element in dependence of the movement of a part of the body of the wearer during the use of the garment.