air not cooling when stoped at a light on 2002 Dodge Ram 2500

air will not cool at stop when driving it cools

Asked by for the 2002 Dodge Ram 2500
This could be from low refrigerant in the A/C system. That is what I would check first, if the refrigerant level is OK then check the cooling fan operation and the high and low side pressures.