ozanatmar
(ozanatmar)
October 13, 2016, 12:50pm
1
Hello everyone,
This is my character BP:
And this is my HUD:
It says ‘true’ only when i double click. Releasing has no problem.
Does anyone know what is the reason of that?
Thanks in advance.
ozanatmar
(ozanatmar)
October 13, 2016, 1:00pm
2
EDIT: When i use Print String Node in Character BP, it works. But i want to use it in HUD!
ozanatmar
(ozanatmar)
October 13, 2016, 1:21pm
3
OK, I solved it.
In the HUD BP, I’ve overrided “On Mouse Button Down” function as below;
Now realized that the “Detect Drag if Pressed” does something and prevents me from getting “True” from left mouse button in first click. So I deleted it and now I got what I want.
Alara
(Alara)
January 13, 2017, 7:06pm
4
Thank you, that was helpful!
Merrick
(Merrick)
November 3, 2017, 4:39am
5
I have the same problem… but I need that On Mouse Button Down override to detect drags! How do I keep it and have my OnClicked event fire properly?
Same issue here!
can some1 help???