Carpet beetles can only fly or crawl. They might crawl onto beds or fly on beds. They have both horizontal and vertical crawling capacity.