Are there some ways to Handle Right Mouse Click in UMG Button?

Overwrite OnMouseButtonDown in your widget, from the MouseEvent (FPointerEvent) input [
GetEffectingButton. You will now have the FKey that was pressed down, check if FKEY == FKey::RightMouseButton. Now you can call a custom function or the OnClick to handle what you want to do after the mouse button was clicked.

3 Likes