How do I construct a UObject class in an animation blueprint and feed the update animation event to one of it's functions

I have made the class with C++. Someone showed me how to create an instance with an event beginplay (which I know does not apply here) but didn’t show me how to use it.