How does one lengthen a child's attention span?

My kids two absolutly favorite toys are a cardboard box we made into a house and a box full of rocks. Both of them can play with the rock box for about half an hour, which is a really long time considering they’re so small. The house was literally loved to pieces (anyone have n aplliance box they’re looking to get rid of?)