What does "Exposed For Spawn" used for?

It will appear as an input node when you try to construct such object from its class, such variable has to be also Instance Editable.


Hey Folks,

I’m a bit confused in using “Exposed For Spawn”.
What does it generally used for in C++/Blueprint ?

while i havent used it myself, from what ive seen it will expose a variable to be shown on a spawn actor from class node. so if you wanted to spawn in a actor and immediately set a variable in that actor then you could use the expose for spawn.

Expose on Spawn is very useful when you want to initialize an internal variable before BeginPlay is called, and helps keep blueprints cleaner.

It does nothing for C++ (AFAIK).