[gd_scene load_steps=5 format=2] [ext_resource path="res://Assets/windows/folder_square.png" type="Texture" id=1] [ext_resource path="res://Elements/Scripts/WindowHeader.gd" type="Script" id=2] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 555, 60 ) [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 38.75, 38.75 ) [node name="Node2D" type="Node2D"] [node name="Window" type="Sprite" parent="."] scale = Vector2( 0.4, 0.4 ) z_index = -3 texture = ExtResource( 1 ) [node name="Area2D" type="Area2D" parent="Window"] position = Vector2( 487.5, -490 ) script = ExtResource( 2 ) [node name="Header" type="CollisionShape2D" parent="Window/Area2D"] position = Vector2( -487.5, 2.5 ) scale = Vector2( 0.999999, 0.999999 ) shape = SubResource( 1 ) [node name="Area2D2" type="Area2D" parent="Window"] script = ExtResource( 2 ) [node name="CloseButton" type="CollisionShape2D" parent="Window/Area2D2"] position = Vector2( 486.25, -486.25 ) scale = Vector2( 1, 1 ) shape = SubResource( 2 ) [connection signal="input_event" from="Window/Area2D" to="Window/Area2D" method="_on_Area2D_input_event"] [connection signal="input_event" from="Window/Area2D2" to="Window/Area2D" method="_on_Area2D2_input_event"]