# Why does My Get Hit Result Under Cursor by channel not work?

**URL:** <https://forums.unrealengine.com/t/why-does-my-get-hit-result-under-cursor-by-channel-not-work/482437>\
**Category:** UI\
**Tags:** buttons, unreal-engine, question\
**Created:** [April 25, 2021, 12:55pm UTC](https://forums.unrealengine.com/t/why-does-my-get-hit-result-under-cursor-by-channel-not-work/482437 "2021-04-25T12:55:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BiboDerTeppich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BiboDerTeppich](https://forums.unrealengine.com/u/BiboDerTeppich)\
**Post date:** [April 25, 2021, 12:55pm UTC](https://forums.unrealengine.com/t/why-does-my-get-hit-result-under-cursor-by-channel-not-work/482437/1 "2021-04-25T12:55:17Z")

</div>

I want to get the object reference of a button when the button is clicked and from what i read this should work but it does nothing. pls help

 ![337063-scripting1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/1/2/912b168aa002ba3bc64e56bd88215d9946dce0f7.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [April 25, 2021, 3:52pm UTC](https://forums.unrealengine.com/t/why-does-my-get-hit-result-under-cursor-by-channel-not-work/482437/2 "2021-04-25T15:52:56Z")

</div>

> I want to get the object reference of  
> a button

A reference of what button? You’re currently clicking on a button already. What’s the end goal here? Is there an actor under the button and you’re trying to click through a button?

---

<div class="post-metadata">

**Author:** ![BiboDerTeppich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BiboDerTeppich](https://forums.unrealengine.com/u/BiboDerTeppich)\
**Post date:** [April 25, 2021, 3:58pm UTC](https://forums.unrealengine.com/t/why-does-my-get-hit-result-under-cursor-by-channel-not-work/482437/3 "2021-04-25T15:58:35Z")

</div>

okay so what im trying to accomplish are a infinite amount of save slots and save slots buttons. For that i have it set up in a way that a different button creates and adds a savegamebutton into a scrollbox and saves it as a object in a array into my settings savegame. Now what i need is to find a way to set the Slot of each button to a different savegame and i wanted to do that by simply saving the savegames to slots named after the button. But bc its not working i made this isolated button in the picture with no function other than testing.
