Koaku
(Koaku)
February 5, 2017, 3:47pm
1
So I am setting up a UI for my puzzle that i will later add a static mesh behind but it wont let me interact with it.
The object is a pawn I posses to rotate the coin I have the Space set to world so I can place it custom on my object, but it wont detect input.
Koaku
(Koaku)
February 5, 2017, 5:34pm
2
Added the interaction component, it draws the debug but when I click nothing happens.
BPANDREW
(BPANDREW)
February 5, 2017, 5:53pm
3
those are umg buttons? wouldn’t you want to use the click events provided by the buttons themselves (scroll down on the left side to the event bindings, and create a click event
Koaku
(Koaku)
February 5, 2017, 6:08pm
4
I already am using click events ? my issue is when it click using the widget interaction nothing happens on my event
BPANDREW
(BPANDREW)
February 5, 2017, 10:50pm
5
you are using mouse down events, in your widget layer, you are using buttons correct? they themselves fire click events
Koaku
(Koaku)
February 5, 2017, 11:10pm
6
I am firing this from a pawn actor.
But is this the click event you are talking about?
BPANDREW
(BPANDREW)
February 6, 2017, 12:33am
7
oh I see, No i meant in the actual widget itself - not from the actor that has a reference to the widget - I had trouble with this in my mobile game because it was in world space but when I made my widgets in screen space the events would work (but I didnt want it to look like that)
Koaku
(Koaku)
February 6, 2017, 12:43am
8
Yeah that my issue i want it to be in world space and intractable .
Edit So my widget in editor now notices my mouse my button now highlights the button but it doesn’t register a click.
Any ideas to send a click through so my Left mouse button event that press’ pointer key doesn’t work
BPANDREW
(BPANDREW)
February 6, 2017, 2:09am
9
How to click on a UMG Button in world space? - Programming & Scripting - Unreal Engine Forums check this one out.
what happens when you create a mouse down event in the umg button itself inside the widget? does that fire?
Koaku
(Koaku)
February 6, 2017, 2:59am
10
So I tried this if the key is down and my button is hovered activate my event but it fires it asoon as I posses the pawn and constantly rotates right.