Change color of polygon when mouse is clicked

You need to de-indent the else - currently you’re saying “if the fill colour is red, make it white, and if it’s not red, make it red”

1 Like