I clear try clearing the surface in python, then it still draws the button?
Question: I clear try filling the screen with white then importing an image, but when I
use display.flip() the buttons are still there and it still detects collision?
How do I fix this??

    
    
    def stagesel():
    screen.fill(WHITE)
    StageselPic = image.load("Locationmenu.png") # done once
    screen.blit(StageselPic, Rect(0,0,800,600))
    display.flip()
    
    def getmouse():
        mx, my = mouse.get_pos()
        mb = mouse.get_pressed()[0]
        return (mx, my, mb)
    
    def Menu():
        global GREEN
        global WHITE
        if mx >= rectx and mx <= rectx + rectw and my >= recty and my <= recty + recth:
            x = GREEN
            menutext(x)
        elif mx >= instx and mx <= instx + instw and my >= insty and my <= insty + insth:
            y = GREEN
            menuhelp(y)
        else:
            x = WHITE
            y = WHITE
            menutext(x)
            menuhelp(y)
        if mx >= rectx and mx <= rectx + rectw and my >= recty and my <= recty + recth and mb == True:
        stagesel()
    running = True
    
    
    while running:
        for evnt in event.get():
            if evnt.type == QUIT:
                running = False
    
    mx,my,mb = getmouse()
    Menu()
    TITLE()
    
    quit()
    


Answer: Your source is incomplete and bogus. This way you can't expect any help. It
seems you lack understanding of the pygame surface-mechanics, but the way you
represent your misundertandings it's impossible to help.

My best guess would be, that you fail to copy your screen-surface to the
display-surface. The part about collision detection is way above me, because
you provided not even the most basic hint to your collision detection. (In the
hope your Mouse-Coordinates checks don't qualify as collision detection.)

Please strip your source to the relevant parts and provide pointers to
problems therein.

