Answer:
One global Variable
Explanation:
when creating an animated scene also known as animation. you simply pick up a story from any subject and set that story in motion using graphic commands. animated scenes are created as time varying contents, which for every new scene there has to be a new temporary image drawn at equal time intervals.
To achieve this animation step of drawing new images at equal time interval you should introduce an endless loop also known as animation loop and one of such endless loop is a global variable. because a global variable is easily accessible throughout the program.