How to make a bounding box spawn objects randomly?

I have created a bounding box in my level1 blueprint and have then edited the blueprint. Previously I have made an actor blueprint which spawns random objects however i want to do this by just editing the Bounding Box’s Blueprint instead of making the platform and bounding box and then letting things spawn. I copied most of the stuff from my previous one but am getting this error when trying to connect:

Try GetComponentBounds instead:


Is there any reason Trigger Box is your parent class though? If you make an actor blueprint you can add your own collision box and use box extent as normal. I’m not sure what Trigger Box has that you need for what you are actually doing.