The way I did this was to check if the sprite in question is moving (Compare Speed). Then, every set amount of seconds, create a sprite object on the back of your sprite. After the trail sprite is created, create a loop event that lowers the trails opacity. When the opacity equals 0, destroy the trail sprite.