The cubes are flat but have some kind of spring mechanism that allows them to spring into shape once released.