taking damage (which lowers their health value)or an enemy moves somewhereor something happens in the game world we say that the game state has changed if you've ever played game that let you savedthe --save state|is the game state at the point that you've saved it in most gamespausing the game will prevent the game state from changing since the game state is usually updated in response to events (such as mouse clicks or keyboard pressesor the passage of timethe game loop is constantly checking and re-checking many times second for any new events that have happened inside the main loop is code that looks at which events have been created (with pygamethis is done by calling the pygame event get(functionthe main loop also has code that updates the game state based on which events have been created this is usually called event handling pygame event event objects any time the user does one of several actions (they are listed later in this such as pressing keyboard key or moving the mouse on the program' windowa pygame event event object is created by the pygame library to record this --event|(this is type of object called event that exists in the event modulewhich itself is in the pygame module we can find out which events have happened by calling the pygame event get(functionwhich returns list of pygame event event objects (which we will just call event objects for shortthe list of event objects will be for each event that has happened since the last time the pygame event get(function was called (orif pygame event get(has never been calledthe events that have happened since the start of the program