How to make an object interactable with a click?

I’m making a Life Sim game and am trying to figure out exactly how to go about making an object refill a “hunger bar” when the player moves close and clicks on it, the problem I’m having is that the “raycast” (hope I’m using that word right) hits where the player is and not the object I’m clicking on.

Edit: I completely forgot to mention that this is using a top-down camera and not like… First-person or something.