Hello, first time poster please let me know how to improve my questions
I've made an overlay that spawns on left button press and follows the mouse position. My issue is with area detection, I am trying to change the color of the overlay when it detects any object within itself. Area detect seemed to be the best option for this, I would be detecting rigidbody and tilemaps, the code below shows me detecting "body" however, I've tried the examples given on multiple forums, videos, examples, and so far nothing has worked.
func _on_Ball_Detect_body_entered(obj):
print(obj.get_name())
print("ooo wee!")
pass
Please point me in the right direction or if I should be using another method entirely, any response is helpful