Disappearing dome


#1

My students are trying to create a dome using the building block dome. They want it to appear green at first and then on collision of dome it will be clear again. Can someone help us with the blockly coding for this?

They have it set to green but can’t get it to turn transparent on collision.