this will help you How to present all the squares at the same time using the custom code? - Builder - PsychoPy