OK. You can use external variables or create a function that returns the values to a parameter setup as variable. That way the behavior can be used with any variable without changing the behavior.
You can setup a parameter as type variable and then use an action to either copy the variable in the paramer to a function variable or copy a function variable to the variable in the parameter.