All plants need an active (light provided) and rest (darkness) period to be healthy. Leaving a light on 24/7 will likely induce unwanted algae growth. Your moss ball is not a real moss, but is a form of algae. They do best in higher light and light period of 10-12 hours in my experience.