1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-23 00:24:21 +00:00
hella-farm/behaviours/hover_detector.tscn

18 lines
618 B
Text
Raw Normal View History

2024-04-14 01:43:58 +00:00
[gd_scene load_steps=3 format=3 uid="uid://cbg5kgwxusvxf"]
[ext_resource type="Script" path="res://behaviours/hover_detector.gd" id="1_51m5p"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ktsow"]
radius = 8.0
[node name="HoverDetector" type="Area2D"]
monitorable = false
2024-04-14 01:43:58 +00:00
script = ExtResource("1_51m5p")
[node name="Shape" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_ktsow")
debug_color = Color(0.8, 0.396078, 0.384314, 0)
2024-04-14 01:43:58 +00:00
[connection signal="mouse_entered" from="." to="." method="_on_mouse_entered"]
[connection signal="mouse_exited" from="." to="." method="_on_mouse_exited"]