I'm making 2 while loop, on the left one, I detect my mouse coordinate (x,y) and concatenate it into a 2d array, it runs very fast (0 millisecond multiple), then I want to send it to another while loop that runs every 10 ms, what the second while loop does is reading the array from the first while loop every 10ms.
Is it possible? if yes then how?