Scaling to fit within box

Is it possible to scale an object to fit within a box (so that every object has the same size limits? I’m using this for a photo booth, and I would like to have a box that the camera is able to keep in frame.

You can calculate the Bounding Box of the object. With some divisions you can then calculate how much scale you need on which axis to fit it to a box you specify.
If you want to do that dynamically, there is a Box struct, which you can use in Blueprints too.

Thank you!