Is there a function to set setAutoDraw(false)
for all objects on screen? Or have a myWin.clearDrawings() function?
Background
In my experiment I have several lines drawn on the screen which should remain there between button clicks. There are 8 lines presented on the screen and the participant has to bisect each line. With every bisection, their estimate is also drawn on the screen and should remain until all lines are bisected fpr that block of trials.
This is implemented using the visual.ShapeStim
command and setting autodraw
to True for each line and also its marking. Thus I have 16 objects with autodraw=True
settings.
I’m currently running a loop for all the items at the end of a block to setAutoDraw(False)
and then flip the screen, but I figure there must a better way to do this than that.
Thanks for your help!