Interact with UMG buttons via player aim rather than the mouse cursor.

Solved this by using the UMG as a widget component of a blueprint, then adding a box component box component (hidden in game) over the same dimensions as the button. Then creating a ray trace that is blocked on a custom channel that only the “button boxes” can block. Upon ‘blocking’ collision, the buttons will then carry out their functions.