MV How to draw icons from the icon set on the battle screen?

I am creating a "weaknesses" plugin where I need icons of certain elements and states to be drawn somewhere near the enemies. But I can't do it. If I use a bitmap and a sprite, then the whole icon set gets drawn, instead of just one item. If I do it in a window, I need a 64x64 window to hold a 32x32 icon. I want just the 32x32 icon to appear, not inside a bigger window. I've worked on this issue for many hours by myself but I just can't do it.

Here is an example that has a 64x64 window contain the 32x32 sprite:

image_2021-12-18_221311.png

If I make the window smaller, the icons get reduced in size too and at 32x32 window the icons are not seen.
It looks like you've made some good progress!

If you wanted to do it via a window, you could adjust the window's padding to take care of the spacing issue that you describe. You can also set the window's opacity to zero to hide the windowskin, if you wanted to.

If you wanted to do it via a sprite, I don't know off of the top of my head whether or not MV has a function to draw a specific icon on a sprite in the same way it does for a window. If it doesn't, you may need to take a look at Window_Base or something similar and carry that functionality over to your sprite.
@Kenen your advice with setting the opacity to 0 has worked. Thanks, I appreciate it!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-draw-icons-from-the-icon-set-on-the-battle-screen.143130/