extends ColorRect var type func _ready() -> void: scale = Vector2.ZERO var tween = create_tween() tween.set_ease(Tween.EASE_IN_OUT) tween.set_trans(Tween.TRANS_QUAD) tween.set_loops() tween.tween_property(self, "modulate", Color(1, 1, 1, 0.75), 1) tween.tween_property(self, "modulate", Color.WHITE, 1) var tween2 = create_tween() tween2.set_ease(Tween.EASE_OUT) tween2.set_trans(Tween.TRANS_BACK) tween2.tween_property(self, "scale", Vector2.ONE, 0.5)