I had a couple of those that would follow the same path along a piece of live rock completely covered in
coraline algae. Over the course of 3-4 weeks I started noticing trails of non-purple. After that I took them out with a pair of tweezers. I know a friend has had a similar problem, he has about 50 of them though in a 15 gallon.
What do I know though, could have been something else. My goby would always pick at it and spew it out, the star once with through a powerhead, don't know how that worked.
LS