Blueprint Interface - function event with pin?

I need to create a function in blueprint interface that have new function inside - event that also need to have additional output or input, everytime when I do this then from other blueprints i cannot “Add Evvent” (this event), I can only call the function but the only way I can Add Event is if this event does not have any pins. I dont know how to do it but I know its possible, I couldnt find in tutorials, if someone here can help thank you very much

I think I can do this with variables actually it should be the same