How to set multiple objects autodraw setting, or clear the screen regardless

I think you’ve already created that:

I’m currently running a loop for all the items at the end of a block to setAutoDraw(False)

I don’t think that here is a much better way to do it than that. (Yes, you can muck around in the undocumented weeds and set the window’s ._toDraw attribute to an empty list, but that only saves one line of code compared to your loop. And it would add more code later to re-populate the list. So stick with the obvious, and explicit, method you’ve already implemented.)

2 Likes