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

This discussion was caught in the moderation queue since you have not confirmed your account yet.

Upon creating your account you should have received an account verification email. The confirmation email may have been incorrectly flagged as spam, so please also check your spam filter. Without confirming your account, future posts may also be caught in the moderation queue. You can resend a confirmation email when you log into your account if you cannot find the first verification email.

If you need any help, please let us know! You can find ways to contact forum staff on the Contact page. Thanks! :smile:

2 years later