How to stop click of two overlapping objects?

meiskoolermeiskooler Posts: 1Member

I have two objects - a rigidbody on top of a area2d. Each has its own CollisionObject2D input_event connection. When I click the rigidbody, I want the click to only register for the rigidbody. However, the click actually registers for the area2d first (beneath the rigidbody) and then registers for the rigidbody, which is really confusing me. I was wondering if there is any way for me to stop the click at the rigidbody, or even to let the click on the rigidbody register first.

Answers

Sign In or Register to comment.