Error (: line 0)

Thank you so much codeMasterX!

I should be more careful with these “{“ and these “)”, it solves a part of the problem. However, I still have the error message followed by this message:

Script error. (: line 0)

If not intentional, this is often a problem with scope: [https://p5js.org/examples/data-variable-scope.html]. (http://p5js.org/reference/#/p5/circle)

I will try to get more insight from the link they provided.

Thanks again for your help!

Iris