Hello, There should be some boolean condition at which the loop can stop, once the loop has stopped for some conditon, it cannot start until you start the program again, so you can put all the loops in another main loop
Try to minimize the loops as much low as you can, as it can cause to slow down the PC's performance preferably put all the code in one loop I would also be happy to take a look at your existing code and offer further ideas if you have any more queries you can zip your code and attaache here Have a great day. Regards mathews
