If you want to make your own mouse trail you only need the code on left.
thx to @SeaTurtlesForever for a lot of help! See their project!