I don’t know if this is the right place to ask, but I cannot find direct answer to my question. I’m trying to use button from widget bluepr. in class blueprint to activate simple spawn event.
If you want to spawn the actor, one way is to do it through the user widget like this:
The “NewVar 0” variable is a transform variable, and the default is where you wan’t it to spawn in the world, and the onclicked is pointed at the button in the ui.
I tried something similar, but i cannot set it to spawn on actor class (in this case i want house to spawn on a tile when i click on a UI button).
Is there a way to set actor class location in widget blueprint (instead of variable)?