I’m very very new with Python. I’m using Psychopy for a cognitive task in which same squares appear in a randomly selected position. I need that this squares are not overlapped. How can I say to psychopy :
- chose a random position;
- check if another square is in that position
- if there is another square go back and check again for another position
- if is an empty place: ok put the square.