How to set a variable in a BP that I spawned from a different Actor

I am trying to spawn a BP and set a variable in the actor I just spawned

Hey primacy-

If you save a reference to your actor as you spawn it, you can use that reference to access the public members of the spawned actor.

Cheers