Function input : Variable reference


I have encountered a problem, I am trying to get the button I clicked on a UMG blueprint to run a function with inputs.

The problem is that inside my function, I need to use the button reference to change the tool tip and background color, I thought I would simply put an input for a button reference but the thing is that the input can only be “Button C reference” and so I can’t plug in the “Button reference” that I want to use inside.

Is there a way to set the input of a function to a reference instead of C reference ?

Or is there a way to get my reference within the function without inputs?
I intend to use this function for many buttons so I can’t make an instance of the function for each button.

Thanks for your help,