[gd_scene load_steps=3 format=3 uid="uid://trgewnm15sr7"] [ext_resource type="Script" path="res://Script/interaction.gd" id="1_k1vur"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_5my50"] [node name="Interaction" type="Area2D"] script = ExtResource("1_k1vur") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("RectangleShape2D_5my50") [node name="Label" type="Label" parent="."] unique_name_in_owner = true visible = false modulate = Color(1, 1, 0, 1) offset_left = -20.0 offset_top = -37.0 offset_right = 20.0 offset_bottom = -14.0 text = "!" horizontal_alignment = 1 [connection signal="body_entered" from="." to="." method="_on_body_entered"] [connection signal="body_exited" from="." to="." method="_on_body_exited"]