diff --git a/scripts/Receptors.gd b/scripts/Receptors.gd index 332d419..9a74875 100644 --- a/scripts/Receptors.gd +++ b/scripts/Receptors.gd @@ -156,7 +156,7 @@ func _ready(): $"/root".connect("size_changed", self, "update") func set_alpha(a): - alpha = 1.0 #a + alpha = a material.set_shader_param("alpha", alpha) func fade(visible: bool):