Hi, i try to do menu which will do words change color, when they are hovered, i´ve tried it this way but it doesnt work.
First work but not the second. Can you help me please.
Hi, i try to do menu which will do words change color, when they are hovered, i´ve tried it this way but it doesnt work.
I suppose the problem is with the Event Tick. I think you can have only 1 event tick in your BP and your second one is using a copy of the first one. Instead of event tick use a custom event in place of the 2 event ticks you have now and call the 2 custom events from the event tick.
However I believe what you are trying to achieve could be done easier using the On Mouse Over node.
You can check this out too: Mouse Interface | Unreal Engine Documentation
The second one is a custom event, not a tick override. If you want tick to run two functions, use the “sequence” node to make it run sequentially your checking functions. However, that’s very unoptimized. You should put a “border” over the thing you want to highlight and bind the “move” function (that checks if you are moving within it) and put what you want it to do in it.
Yeah, you understood, thx. Ill try it
Sequence helped thanks a lot.
I have just one more question, how to make button do a sound after click, thanks.
Bind to that button the “OnButtonDown” event and put your sound-playing script there. If your widget does not have a “OnButtonDown” function, you’ll just have to use one that does.