Need help editing a mouse trail

Is there a way to “listen” or record a mouse trail animation, then export it or have it play automatically like a movie?
I have a nice magic star mouse trail, but I need a magic star movie to play without a mouse.
Thank you!