You want to enable “Expose on Spawn” on the class your spawning, on whatever variables you want to expose when spawning from another BP using the SPawnACtorFromClass node, in the details panel. They will then show up as pins.
Maybe you mean you want to edit a spawned actors varaible? What you need to do thenis get a live reference to that spawned actor. Do a GetAllActorsOfClass(spawnedActorClass) and then do an array get 0 off of the array return (assuming its th eonly one) and then drag off the blue pin and get/set the variable you want).
You can also drag off the blue pin and promote to variable so that you can reuse it.
Hope this helps
Don’t forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.