How to pass a UMG UI element into a blueprint function?


I am creating a UI with UMG, and have created some blueprint functions in the graph to scale/position elements based on the screen resolution.

However, I can’t work out how to pass these objects into my function. My UI elements are Scale Boxes, however I can’t find this as a variable type when I add an Input to a function. Is this even possible?