[gd_scene load_steps=4 format=3 uid="uid://bbxc20gvkbtg4"] [ext_resource type="Script" path="res://ball.gd" id="1_lxc0r"] [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_4pkmb"] [sub_resource type="CircleShape2D" id="CircleShape2D_7kx4t"] [node name="Ball" type="RigidBody2D"] gravity_scale = 0.0 contact_monitor = true max_contacts_reported = 50 script = ExtResource("1_lxc0r") [node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."] [node name="Sprite2D" type="Sprite2D" parent="."] scale = Vector2(30, 30) texture = SubResource("PlaceholderTexture2D_4pkmb") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] scale = Vector2(2, 2) shape = SubResource("CircleShape2D_7kx4t") [connection signal="body_entered" from="." to="." method="_on_body_entered"] [connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]