How to pass an actor class type parameter to a function?

omgwow. I feel like such an idiot, you wouldn’t believe how long I’ve been looking for this.