Do you know if there is some built in function to simulate mouse click or slide over an UI ?
If you have any idea that would be amazing! Otherwise I would have to implement some sort of collision detection with buttons.
Thanks,
Do you know if there is some built in function to simulate mouse click or slide over an UI ?
If you have any idea that would be amazing! Otherwise I would have to implement some sort of collision detection with buttons.
Thanks,
yes there is, there are in fact an onclick event, on hover event, on press event and a couple more, I am not sure what the code is in c++ (I jsut started using Unreal today) but using blue print it is very easy,
Right click the variabe for the button and add an event from that variable
Yes, I can use these On clic event etc but only with mouse clic.
What I came up to is box collider inside my 3D Actor containing the widget that trigger functions within my UI Widget Blueprint.
This is quit dirty, but it is working