Fill Box with cube (generator) help

hello everyone! i need help to generate cube inside box
for now im trying to achieve filling the box with cube at maximum without overlap.
help would be really appreciated :slight_smile:

You may need to clarify what needs doing. Are we generating many cubes or scaling one cube to mach the size of the larger box?

I’d like the think it’s the former but you keep saying cube (singular).

sorry if i misspeling the text, i want to generate the maximum (cube) we can spawn to fill all the box