# How can I ignore "Pressed" event (or Clicked) in Button widget?

**URL:** <https://forums.unrealengine.com/t/how-can-i-ignore-pressed-event-or-clicked-in-button-widget/2244145>\
**Category:** UI\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [December 26, 2024, 6:31pm UTC](https://forums.unrealengine.com/t/how-can-i-ignore-pressed-event-or-clicked-in-button-widget/2244145 "2024-12-26T18:31:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.JMUR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr.JMUR](https://forums.unrealengine.com/u/Mr.JMUR)\
**Post date:** [December 26, 2024, 6:31pm UTC](https://forums.unrealengine.com/t/how-can-i-ignore-pressed-event-or-clicked-in-button-widget/2244145/1 "2024-12-26T18:31:42Z")

</div>

How can I ignore “Pressed” event (or Clicked) in Button widget?  
I need only possibility to focus in Button.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [December 26, 2024, 6:57pm UTC](https://forums.unrealengine.com/t/how-can-i-ignore-pressed-event-or-clicked-in-button-widget/2244145/2 "2024-12-26T18:57:19Z")

</div>

If you want to ignore the events then you can call unbind all for the unwanted event on a button

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/d/abd43cb5dbd90f6073bc61778d19965f4f2b8248.png)

if you want to ignore the visual aspect then you could override the style. (OFC you can just pass in a variable with the style defined inside of the widget)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/8/a386a15065839057e63a5c9231d013f18bfe0ba2.png)

---

<div class="post-metadata">

**Author:** ![Mr.JMUR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr.JMUR](https://forums.unrealengine.com/u/Mr.JMUR)\
**Post date:** [December 26, 2024, 7:17pm UTC](https://forums.unrealengine.com/t/how-can-i-ignore-pressed-event-or-clicked-in-button-widget/2244145/3 "2024-12-26T19:17:37Z")

</div>

I guess, I’m doing something wrong. Linked event “Unbind all events from on Clicked” with Event Construct. But still Doesn’t work.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/8/c38bb5fa1c46d10753e8822cd41c16a42b926502.png)

I created specific event for LMB and RMB.  
When I focus on the button, I can use RMB, but still can’t use LMB =(  
I know about onclicked, but don’t wanna use, cause also wanna create controle for a gamepad.
