# \#onclick

**URL:** https://forums.unrealengine.com/tag/onclick/1819.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [On Click Event available only when other objects overlapping each other.](https://forums.unrealengine.com/t/on-click-event-available-only-when-other-objects-overlapping-each-other/1914750)

<div class="topic-metadata">

**Author:** [@P4PUSZK4](https://forums.unrealengine.com/u/P4PUSZK4)\
**Replies:** 0\
**Last updated:** [June 24, 2024, 1:10pm UTC](https://forums.unrealengine.com/t/on-click-event-available-only-when-other-objects-overlapping-each-other/1914750 "2024-06-24T13:10:02Z")

</div>

Hello! I’m a complete newbie in UE and I’m struggling with an issue that I can’t solve on my own. I’m making a mini-game and I need to make element A clickable only when elements B and C overlap each other. Importantly…

---

## [Was creating dynamic button, the button widget was suppose to use event dispatcher. But the bind to the event dispatcher is only getting the last created buttons command.](https://forums.unrealengine.com/t/was-creating-dynamic-button-the-button-widget-was-suppose-to-use-event-dispatcher-but-the-bind-to-the-event-dispatcher-is-only-getting-the-last-created-buttons-command/490621)

<div class="topic-metadata">

**Author:** [@Vishwas3000](https://forums.unrealengine.com/u/Vishwas3000)\
**Replies:** 2\
**Last updated:** [November 5, 2021, 1:01pm UTC](https://forums.unrealengine.com/t/was-creating-dynamic-button-the-button-widget-was-suppose-to-use-event-dispatcher-but-the-bind-to-the-event-dispatcher-is-only-getting-the-last-created-buttons-command/490621 "2021-11-05T13:01:30Z")

</div>

I was trying to create data driven button menu. In button widget, the buttons was suppose to fire their respective task (like setting up particular texture) so i was using event dispatcher to send info to the menu widget…

---

## [OnClick Event Dynamic Button C++](https://forums.unrealengine.com/t/onclick-event-dynamic-button-c/449795)

<div class="topic-metadata">

**Author:** [@danielf94](https://forums.unrealengine.com/u/danielf94)\
**Replies:** 3\
**Last updated:** [September 3, 2022, 1:05am UTC](https://forums.unrealengine.com/t/onclick-event-dynamic-button-c/449795 "2022-09-03T01:05:09Z")

</div>

Hi, I’m using the OnClick event that runs when I click my buttons. I am creating 3 bottones from my Blueprint Widget and I call them from my c ++ code with the UPROPERTY method (meta = (BindWidget)). Now what I want to a…

---

## [How set UMG button as pressed from BP script?](https://forums.unrealengine.com/t/how-set-umg-button-as-pressed-from-bp-script/487037)

<div class="topic-metadata">

**Author:** [@Hybris6](https://forums.unrealengine.com/u/Hybris6)\
**Replies:** 3\
**Last updated:** [August 30, 2021, 8:15am UTC](https://forums.unrealengine.com/t/how-set-umg-button-as-pressed-from-bp-script/487037 "2021-08-30T08:15:25Z")

</div>

Hi, in (widget) Blueprint what is the command to activate a UMG button (like if it was clicked). I have an actionbar with 3 umg buttons. In the actionbar script Im listening for keys like if I press 1 the first umg but…

---

## [Is it possible somehow from the world machine to transfer many landscapes at once to the Unreal Engine in World Compositon mode?](https://forums.unrealengine.com/t/is-it-possible-somehow-from-the-world-machine-to-transfer-many-landscapes-at-once-to-the-unreal-engine-in-world-compositon-mode/471466)

<div class="topic-metadata">

**Author:** [@Hackod.ru](https://forums.unrealengine.com/u/Hackod.ru)\
**Replies:** 0\
**Last updated:** [September 17, 2020, 12:34am UTC](https://forums.unrealengine.com/t/is-it-possible-somehow-from-the-world-machine-to-transfer-many-landscapes-at-once-to-the-unreal-engine-in-world-compositon-mode/471466 "2020-09-17T00:34:46Z")

</div>

Is it possible somehow from the world machine to transfer many landscapes at once to the Unreal Engine in World Compositon mode?

---

## [A bigger hitbox with the on click event](https://forums.unrealengine.com/t/a-bigger-hitbox-with-the-on-click-event/401839)

<div class="topic-metadata">

**Author:** [@cyadic](https://forums.unrealengine.com/u/cyadic)\
**Replies:** 2\
**Last updated:** [March 25, 2018, 4:32am UTC](https://forums.unrealengine.com/t/a-bigger-hitbox-with-the-on-click-event/401839 "2018-03-25T04:32:54Z")

</div>

Hi, I’m kinda new new with the onclick Event , i want to know how i can get a bigger hitbox for the event i am making my test on a door but i can only open it when i click on the door itself i would to click around but …

---

## [Rotate actor spawned on a streamed level](https://forums.unrealengine.com/t/rotate-actor-spawned-on-a-streamed-level/419170)

<div class="topic-metadata">

**Author:** [@Dubem](https://forums.unrealengine.com/u/Dubem)\
**Replies:** 0\
**Last updated:** [March 7, 2018, 4:02am UTC](https://forums.unrealengine.com/t/rotate-actor-spawned-on-a-streamed-level/419170 "2018-03-07T04:02:04Z")

</div>

I have a sublevel where I spawned an actor, I want to rotate, transform the actor from the streamed level using actor onclicked events and also using UMG with valuechange properties but I cannot find a way to that.

---

## [How can I make my main menu fade out whan I clink on the play button?](https://forums.unrealengine.com/t/how-can-i-make-my-main-menu-fade-out-whan-i-clink-on-the-play-button/417276)

<div class="topic-metadata">

**Author:** [@Kairu777](https://forums.unrealengine.com/u/Kairu777)\
**Replies:** 1\
**Last updated:** [February 14, 2018, 7:02am UTC](https://forums.unrealengine.com/t/how-can-i-make-my-main-menu-fade-out-whan-i-clink-on-the-play-button/417276 "2018-02-14T07:02:47Z")

</div>

I already have the sequence set up to fade to black but I can’t get it to actually fade when I click the play button. This is how my sequence is set up.

---

## [Event on clicked (Capsule)](https://forums.unrealengine.com/t/event-on-clicked-capsule/412367)

<div class="topic-metadata">

**Author:** [@RyzonPT](https://forums.unrealengine.com/u/RyzonPT)\
**Replies:** 1\
**Last updated:** [February 2, 2018, 11:40pm UTC](https://forums.unrealengine.com/t/event-on-clicked-capsule/412367 "2018-02-02T23:40:56Z")

</div>

Hello Im trying to call an Onclicked event and when it fires it should print something but for some reason it only fires sometimes. I have to press like 10 clicks so the event fires only once. Whats happening? is it no…

---

## [How to use "OnClicked" node?](https://forums.unrealengine.com/t/how-to-use-onclicked-node/403069)

<div class="topic-metadata">

**Author:** [@raining\_chicken](https://forums.unrealengine.com/u/raining_chicken)\
**Replies:** 5\
**Last updated:** [August 30, 2017, 4:36am UTC](https://forums.unrealengine.com/t/how-to-use-onclicked-node/403069 "2017-08-30T04:36:56Z")

</div>

Hello, I’m not quite sure whether the “OnClicked” node is the right type of node I should be using for this but basically what I need is to know is how to make a matinee play when I click a specific object in the third …

---

## [(Quick Question) OnClick Matinee Play](https://forums.unrealengine.com/t/quick-question-onclick-matinee-play/403143)

<div class="topic-metadata">

**Author:** [@raining\_chicken](https://forums.unrealengine.com/u/raining_chicken)\
**Replies:** 1\
**Last updated:** [August 29, 2017, 4:33am UTC](https://forums.unrealengine.com/t/quick-question-onclick-matinee-play/403143 "2017-08-29T04:33:41Z")

</div>

Hello, I’d like to know how to make a Matinee play when I aim the Crosshair then click on the specific mesh in the third person template, like in the GIF down below. I know this is very vague so I’ll be answering any qu…

---

## [Detecting OnClick (= down and up happening on the same UMG Widget)](https://forums.unrealengine.com/t/detecting-onclick-down-and-up-happening-on-the-same-umg-widget/401875)

<div class="topic-metadata">

**Author:** [@Roi\_Danton](https://forums.unrealengine.com/u/Roi_Danton)\
**Replies:** 1\
**Last updated:** [August 12, 2017, 7:56pm UTC](https://forums.unrealengine.com/t/detecting-onclick-down-and-up-happening-on-the-same-umg-widget/401875 "2017-08-12T19:56:12Z")

</div>

UMG offers OnMouseDown/OnTouchStarted/OnKeyDown and OnMouseUp/OnTouchEnded/OnKeyUp (and the native versions for C++ programming). I want to detect if \*down and \*up happened on the very same widget. My naive idea is to s…

---

## [Widget Blueprint: Buttons do not work](https://forums.unrealengine.com/t/widget-blueprint-buttons-do-not-work/390632)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ed9a0f8c](https://forums.unrealengine.com/u/anonymous_user_ed9a0f8c)\
**Replies:** 1\
**Last updated:** [April 12, 2017, 11:18pm UTC](https://forums.unrealengine.com/t/widget-blueprint-buttons-do-not-work/390632 "2017-04-12T23:18:54Z")

</div>

Hello, I am pretty sure I am doing something really basic wrong but I can not figure out what. I have a Widget Blueprint with some Buttons assigned. But these Button neither fire their OnClick Event nor they even show …

---

## [onClick Event still not working (or possibly left-click isn't working)](https://forums.unrealengine.com/t/onclick-event-still-not-working-or-possibly-left-click-isnt-working/389155)

<div class="topic-metadata">

**Author:** [@JustOK](https://forums.unrealengine.com/u/JustOK)\
**Replies:** 2\
**Last updated:** [March 27, 2017, 7:04pm UTC](https://forums.unrealengine.com/t/onclick-event-still-not-working-or-possibly-left-click-isnt-working/389155 "2017-03-27T19:04:13Z")

</div>

I’ve made sure that click events are enabled on my player controller, but there’s still no reaction whenever I click on any object with an onClick event assigned to it’s mesh. What else could be preventing it from worki…

---

## [how do i create a sound off button?](https://forums.unrealengine.com/t/how-do-i-create-a-sound-off-button/323363)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2d042a15](https://forums.unrealengine.com/u/anonymous_user_2d042a15)\
**Replies:** 6\
**Last updated:** [October 21, 2016, 4:42pm UTC](https://forums.unrealengine.com/t/how-do-i-create-a-sound-off-button/323363 "2016-10-21T16:42:18Z")

</div>

so i have created a button in my options menu that will turn on the sounds in my game and i just need an onclick event to make all my sounds stop again when i press the button to do so in the options menu, but i don’t kn…

---

## [Help with FPS Highlighting/Outlining and Level Completion](https://forums.unrealengine.com/t/help-with-fps-highlighting-outlining-and-level-completion/361331)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ce9b0d0b](https://forums.unrealengine.com/u/anonymous_user_ce9b0d0b)\
**Replies:** 2\
**Last updated:** [June 19, 2016, 9:48pm UTC](https://forums.unrealengine.com/t/help-with-fps-highlighting-outlining-and-level-completion/361331 "2016-06-19T21:48:35Z")

</div>

Hi, I’m not very proficient with Unreal but I’m trying to make an FPS game where the player swims around a lagoon clearing pollution. To do so they must look at the pollution (bottle, tire, barrel) and it will be high…

---

## [OnClick Event for 'Character' Class](https://forums.unrealengine.com/t/onclick-event-for-character-class/354015)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_464582c9](https://forums.unrealengine.com/u/anonymous_user_464582c9)\
**Replies:** 0\
**Last updated:** [April 13, 2016, 10:35am UTC](https://forums.unrealengine.com/t/onclick-event-for-character-class/354015 "2016-04-13T10:35:10Z")

</div>

Hey, So I am trying to create a game in which you interact with objects around the world. However I have come across a problem. I am currently using the FPS starter game template and have stripped it down to my needs. T…

---

## [OnClick event is not working with the latest 4.7 Update](https://forums.unrealengine.com/t/onclick-event-is-not-working-with-the-latest-4-7-update/307389)

<div class="topic-metadata">

**Author:** [@James94Hodges](https://forums.unrealengine.com/u/James94Hodges)\
**Replies:** 8\
**Last updated:** [September 21, 2015, 2:20am UTC](https://forums.unrealengine.com/t/onclick-event-is-not-working-with-the-latest-4-7-update/307389 "2015-09-21T02:20:28Z")

</div>

Using just the onClick event with a static mesh placed in the static mesh component works. However, when I use the construction script to change the static mesh in the component the onClick event no longer works. I …

---

## [Blueprint mouse events](https://forums.unrealengine.com/t/blueprint-mouse-events/324878)

<div class="topic-metadata">

**Author:** [@Naivrat](https://forums.unrealengine.com/u/Naivrat)\
**Replies:** 8\
**Last updated:** [July 12, 2015, 3:08pm UTC](https://forums.unrealengine.com/t/blueprint-mouse-events/324878 "2015-07-12T15:08:30Z")

</div>

Hello, i have a problem with mouse events in blueprints. I have made a simple box actor and converted it into a blueprint. then i have added mouse events to the Event graph like this: So, when i press the Play butto…

---

## [StaticMesh onclicked](https://forums.unrealengine.com/t/staticmesh-onclicked/306234)

<div class="topic-metadata">

**Author:** [@JitinDhillon](https://forums.unrealengine.com/u/JitinDhillon)\
**Replies:** 4\
**Last updated:** [April 20, 2015, 1:29pm UTC](https://forums.unrealengine.com/t/staticmesh-onclicked/306234 "2015-04-20T13:29:43Z")

</div>

I’m having trouble figuring out how to handle click events for an Actor mesh in c++ code. Everything is set up in the editor, I can add a onclick event to the mesh in the blueprint and it works fine with my planned logi…

---

## [How can I detect 2 object collision](https://forums.unrealengine.com/t/how-can-i-detect-2-object-collision/306400)

<div class="topic-metadata">

**Author:** [@XAfgun\_1](https://forums.unrealengine.com/u/XAfgun_1)\
**Replies:** 0\
**Last updated:** [February 9, 2015, 6:55am UTC](https://forums.unrealengine.com/t/how-can-i-detect-2-object-collision/306400 "2015-02-09T06:55:35Z")

</div>

Question : Hi I have 1 object and I want to detect collision with any other object. How can I do this? Question : I couldn’t fire “OnClicked” event. I click but any thing occur. Could you help me pls ?

---

## [Is it possible to set up multiple hit boxes in a 2D environment?](https://forums.unrealengine.com/t/is-it-possible-to-set-up-multiple-hit-boxes-in-a-2d-environment/291355)

<div class="topic-metadata">

**Author:** [@Airner](https://forums.unrealengine.com/u/Airner)\
**Replies:** 8\
**Last updated:** [August 25, 2014, 3:41pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-set-up-multiple-hit-boxes-in-a-2d-environment/291355 "2014-08-25T15:41:59Z")

</div>

Hi there, I set up three onclick hitboxes for 3 buttons in a 2D environment. For some reason only the first one in the line works, the other two doesn’t. If I rewire them, I got the same result: whichever is first in li…

---

## [How do I use OnClicked to get a reference to character?](https://forums.unrealengine.com/t/how-do-i-use-onclicked-to-get-a-reference-to-character/282835)

<div class="topic-metadata">

**Author:** [@Shaun](https://forums.unrealengine.com/u/Shaun)\
**Replies:** 1\
**Last updated:** [May 8, 2014, 10:24pm UTC](https://forums.unrealengine.com/t/how-do-i-use-onclicked-to-get-a-reference-to-character/282835 "2014-05-08T22:24:12Z")

</div>

I have an item class with an OnClicked event added. I want to call a function on the local character that clicked on the item. How do I get that reference to the character? // In constructor MeshGround-\>OnClicked.AddDyn…
