when i use time.sleep() or pygame.time.wait() it always freezes the whole game instead of one specific thing.
lets say i want to make a door open and close every few