1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 17:44:24 +00:00
hella-farm/behaviours/move_towards_mouse.tscn

13 lines
617 B
Text
Raw Normal View History

[gd_scene load_steps=3 format=3 uid="uid://bvrxvrjlo5130"]
2024-04-13 21:40:45 +00:00
[ext_resource type="Script" path="res://behaviours/move_towards_mouse.gd" id="1_nbja1"]
2024-04-16 00:47:31 +00:00
[ext_resource type="PackedScene" uid="uid://cbg5kgwxusvxf" path="res://behaviours/cursor_detector.tscn" id="2_qru2e"]
[node name="MoveTowardsMouse" type="Node2D"]
2024-04-13 21:40:45 +00:00
script = ExtResource("1_nbja1")
[node name="CaptureArea" parent="." instance=ExtResource("2_qru2e")]
2024-04-14 01:56:18 +00:00
[connection signal="mouse_entered" from="CaptureArea" to="." method="_on_capture_area_mouse_entered"]
[connection signal="mouse_exited" from="CaptureArea" to="." method="_on_capture_area_mouse_exited"]