so i created fireflies, by spawning in bats, making them invisible and then add fire particles to them. wich makes them look like little fireflies flying around. the problem is that the bats have no limit in flying, but i know that there is a command to make sure the bats can stay within a certain area above the block. i was thinking about aa radius starting at the command block. about 40 blocks. but with a height of 5 blocks above the block they are on. but with the height radius still 40. is that possible? also the bats go sleep after some time. is there a way to prevent bats from sleeping?