What is the purpose of the for loop in this code?
function displayPattern
for element value of pattern
do
set mySprite to sprite
to
pause 500
HIS
destroy mySprite
pause 200
RIS
sprite value of kind Player
A. It displays and destroys only the first image.
B. It determines the appearance of the sprite.
C. It repeats the process for every value in the pattern.
D. It makes sure the pattern isn't displayed too rapidly.
