MZ Designating a battler's sprite

I'm trying to create a plugin that allows certain skills to fire a projectile at the target (or targets). I think it's close to done, but I can't find the code to get from the battler object to its sprite. I have the skill's user's sprite figured out, but I can't get the targets. How can I do this?

Update: I figured out a solution. This can be closed now.

Original thread: https://forums.rpgmakerweb.com/threads/designating-a-battlers-sprite.126554/