How would you make a new rect transparent

Is there a certain number with set fill color to make a rect invisible?

You can use:

 

object.isVisible = false -- or object.alpha = 0 -- or object:setFillColor(0,0,0,0)

You can use:

 

object.isVisible = false -- or object.alpha = 0 -- or object:setFillColor(0,0,0,0)