Having a problem with adding a matrix

This has nothing to do with a problem of running two animations in parallel. The problem is that your code is blocking. Using this code you have absolutely no chance to run the tasks concurrently. You have admit that you need to rewrite your code completely. See the links that @J-M-L suggested

The picture below shows how code is executed with while-loops.
Each loop has to run through to the end before something else can be executed.
This way of coding is called blocking.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.