How to make a right mouse clickable button???
I tried with custom C++ UButton/SButton inheriting class but seems like a pain in the as*. I’ve replaced my Blueprint UButton with a checkbox + OnMouseButton event handler overriden with proper blueprint flow, but seems like calling SetCheckedState does not update the visual. I’ve ended up with a piece of blueprint that calls some custom events but I’m still unable to reflect the UI componet visual correctly (pressed state). It’s stunning that version 5 of the engine capable of insane 3D graphics lacks such a feature!
What is the aim? I’m trying to rewrite classic Fallout 2 with UE5 and I’ve came to a moment I need to switch between aimed/non-aimed attacks which involves right-mouse-button clicking the same UI element used to actually attack. Please help!

