[gd_scene load_steps=3 format=2] [ext_resource path="res://Card.gd" type="Script" id=1] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 75, 75 ) [node name="Card" type="Panel"] anchor_right = 1.0 anchor_bottom = 1.0 margin_right = -874.0 margin_bottom = -450.0 script = ExtResource( 1 ) [node name="Label" type="Label" parent="."] margin_right = 150.0 margin_bottom = 150.0 align = 1 valign = 1 [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2( 75, 75 ) shape = SubResource( 1 ) [node name="TextureRect" type="TextureRect" parent="."] margin_right = 150.0 margin_bottom = 150.0 [connection signal="gui_input" from="." to="." method="_on_Card_gui_input"]