Once the cookies come out of the oven, let them cool for five minutes and then roll them in the powdered sugar while they are still warm. Once they have cooled completely, roll them in powdered sugar one more time.