How can I hide images in pygame?

I can show images with blit() function
How can I hide images? With what function?

Hi @TasosKhatzes your screen redraw method is used to blit the images to the screen.

Others may have more efficient ideas but I would suggest moving the image beyond the boundary of the visible screen e.g. -150, -150


Thank you! That is really smart. You helped me a lot


No problem @TasosKhatzes thank you!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.