How do I add a delay to each iteration of a foreachloop?

How can you have delay inside of a macro? I don’t think it’s possible