This encourages them to move from sleeping to playing without your assistance once they're able to crawl and eventually walk.
Try putting a mattress on the floor and age-appropriate toys within reach. This encourages them to move from sleeping to playing without your assistance once they're able to crawl and eventually walk. You'll want to keep a baby gate across the doorway so they stay in this designated area.