[gd_scene load_steps=4 format=2] [ext_resource path="res://scripts/ElixirsSprite.gd" type="Script" id=1] [ext_resource path="res://images/mota.png" type="Texture" id=2] [sub_resource type="RectangleShape2D" id=1] [node name="ElixirsSprite" type="Sprite"] position = Vector2( 272, 240 ) texture = ExtResource( 2 ) region_enabled = true region_rect = Rect2( 96, 416, 32, 32 ) script = ExtResource( 1 ) [node name="Area2D" type="Area2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] shape = SubResource( 1 ) [connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]