extends BaseControl @onready var main_3d_vehicle_texture: BaseControl = %Main3DVehicleTexture @onready var data_panel: HBoxContainer = %DataPanel @onready var main_3d_vehicle_information: MarginContainer = %Main3DVehicleInformation @onready var main_3d_vehicle_background: NinePatchRect = %Main3DVehicleBackground func _on_main_3d_vehicle_texture_on_click(_node: Variant) -> void: if !$"../../..".isVolumeSettings: $"../../..".isVolumeSettings = true main_3d_vehicle_texture.onEnd() #data_panel.modulate.a = 0 data_panel.visible = true data_panel.modulate.a = 1 main_3d_vehicle_background.modulate.a = 0 var tween = create_tween() tween.tween_property(main_3d_vehicle_information, "modulate", Color(1,1,1,0), 0.05) #tween.tween_property(data_panel, "modulate", Color(1,1,1,1), 0.1) await get_tree().create_timer(0.3).timeout visible = false #tween.set_parallel() #tween.tween_property(main_3d_vehicle_information, "modulate", Color(1,1,1,1), 0.1) var tween1 = create_tween() tween1.tween_property(data_panel, "modulate", Color(1,1,1,1), 0.1) pass # Replace with function body.