I have checked out the Reference and Examples roundly, now I find that it is difficult to manipulate p5 objects in another place(only can manipulate them in where they are be defined).
For example:
function draw() {
stroke("red");
fill("blue");
ellipse(100,100,100,100);
}
after 1000 rows codes, I want to change the fillColor and strokeColor of the ellipse, how can I do that? And another question is that if the ellipse is defined in the setup() function, how can I manipulate it in other functions?