How to set a variable of an AActor before it is spawned by using Textbox input?

I attached some screenshots. :slightly_smiling_face:
The first two is for the MainMenuWidget_BP, where the textboxes appear. The third one is the eventGraph of the SpawnVolume. The SpawnVolume_BP is inherited from a C++ class, just like the MainMenuWidget_BP.