Objects as Function Parameters

Hi. May I inquire if it’s possible to add objects as function parameters when calling it in the actions? As far as I understand, it can be done by putting it in a group then passing it to the function. Then you can “specifically” call the object. What I need is to be able to type the name of the object in the function parameters while calling it in the actions. That way, the function will know what object I’m referring to and then run the actions using the object, meaning there will only be one set of actions, instead of adding the actions for each of the object. Thank you very much.