Introduction - If you have any usage issues, please Google them yourself
In this case by creating two threads, respectively, to achieve two small ball movement in a fixed region, through this case, I hope you can get hold of the thread creation, stop operating.