Is it possible to make an event that updates when ever I spawn or transform an actor?

Is there any way I could make a custom event that updates depending on something like a function?