This function parameter expects a value of type tuple(material,?Index:int = ...), but this argument is an incompatible value of type tuple(type(Mat_Nothing, Mat_Nothing),?Index:type{0}).

This function parameter expects a value of type tuple(material,?Index:int = …), but this argument is an incompatible value of type tuple(type(Mat_Nothing, Mat_Nothing),?Index:type{0}).

WHY?

Add {} at the end of the material kind of like this.
image

1 Like