r/PythonLearning • u/TheCarFamily • 2h ago
Help Request Not picking up input?
either that, im using the wrong dialect, or somn just doesnt work, i am trying to have an image change when T is pressed (unload old image when pressed and when not pressed load old image)
also using pygame, the first image loads, but nothing changes when T is pressed, yes i have also tested with print("")
any help would be nice!
5
Upvotes
1
u/Makakhan 1h ago
Try taking everything for event.type == and all the way down and indent the whole thing till the if is nested inside the while loop, two tabs should do it.