# How to make an object interactable with a click?

**URL:** <https://forums.unrealengine.com/t/how-to-make-an-object-interactable-with-a-click/490209>\
**Category:** Cinematics & Media\
**Tags:** raycasting, click-event, unreal-engine, question\
**Created:** [October 30, 2021, 11:44am UTC](https://forums.unrealengine.com/t/how-to-make-an-object-interactable-with-a-click/490209 "2021-10-30T11:44:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VelvetThePhantom](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/velvetthephantom/32/88709_2.png) [@VelvetThePhantom](https://forums.unrealengine.com/u/VelvetThePhantom)\
**Post date:** [October 30, 2021, 11:44am UTC](https://forums.unrealengine.com/t/how-to-make-an-object-interactable-with-a-click/490209/1 "2021-10-30T11:44:26Z")

</div>

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.
