- You need to format your code properly so we can see the indenting. But at a quick check, it looks like you create a clock when the mouse is clicked, via
RT = core.Clock()
, so the RT would always be zero? - You are calling
win.flip()
. Never do that in a Builder experiment. Builder takes care of the drawing for you: this will completely muck up its drawing and event loop cycle. Not sure where you got this code, but it is not designed to work with Builder. - Please be careful with your terminology: you seem to be using “frame” to refer to two different things.