I need help, in pygame my WINDOW_WIDTH and WINDOW_HEIGHT isn't working

Screenshot 2024-09-12 at 3.43.03 PM
They’re not supposed to be variable I think

You probably defined those objects in another function and they’re out of scope… please post your code using the “Preformatted text” button </> .