# Setting UMG buttons to block mouse cursor hits

**URL:** <https://forums.unrealengine.com/t/setting-umg-buttons-to-block-mouse-cursor-hits/310201>\
**Category:** UI\
**Tags:** unreal-engine, Widget, mouse-click, question, UMG\
**Created:** [March 9, 2015, 9:30pm UTC](https://forums.unrealengine.com/t/setting-umg-buttons-to-block-mouse-cursor-hits/310201 "2015-03-09T21:30:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [March 9, 2015, 9:30pm UTC](https://forums.unrealengine.com/t/setting-umg-buttons-to-block-mouse-cursor-hits/310201/1 "2015-03-09T21:30:30Z")

</div>

I’m using “Get hit result under cursor by channel” in order to get the hit location under mouse clicks on my environment. I’m just now beginning to build a basic interface, and the problem I’m running into is the interface isn’t blocking these mouse clicks. How can I get a UMG Button to block these mouse clicks?

---

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [March 10, 2015, 1:37am UTC](https://forums.unrealengine.com/t/setting-umg-buttons-to-block-mouse-cursor-hits/310201/2 "2015-03-10T01:37:52Z")

</div>

Fixed it, I was trying to use just an image, instead of a button with an image on it.
