Your function is lacking the input. That isn’t what I am saying. The variable that goes into that function has to be Set somewhere, and that Set node needs to be blank.
Obviously you can’t do that inside the function or it would mess with the begin overlap side as well, so just do it before it enters the function.