functions can still be called on itbut it cannot have images like png or jpg images drawn on it with the blit(method (the blit(method is explained later in this if you want to see if surface object is lockedthe get_locked(surface method will return true if it is locked and false if it is not the pixelarray object that is returned from pygame pixelarray(can have individual pixels set by accessing them with two indexes for exampleline ' pixobj[ ][ black will set the pixel at coordinate and coordinate to be black (remember that the black variable stores the color tuple ( )to tell pygame that you are finished drawing individual pixelsdelete the pixelarray object with del statement this is what line does deleting the pixelarray object will --unlock|the surface object so that you can once again draw images on it if you forget to delete the pixelarray objectthe next time you try to blit (that isdrawan image to the surface the program will raise an error that says--pygame errorsurfaces must not be locked during blit|the pygame display update(function after you are done calling the drawing functions to make the display surface object look the way you wantyou must call pygame display update(to make the display surface actually appear on the user' monitor the one thing that you must remember is that pygame display update(will only make the display surface (that isthe surface object that was returned from the call to pygame display set_mode()appear on the screen if you want the images on other surface objects to appear on the screenyou must --blit|them (that iscopy themto the display surface object with the blit(method (which is explained next in the --drawing images|sectionanimation now that we know how to get the pygame framework to draw to the screenlet' learn how to make animated pictures game with only stillunmoving images would be fairly dull (sales of my game --look at this rock|have been disappointing animated images are the result of drawing an image on the screenthen split second later drawing slightly different image on the screen imagine the program' window was pixels wide and pixel tallwith all the pixels white except for black pixel at it would look like thisemail questions to the authoral@inventwithpython com