MZ Is it possible to do compatible MaskPlugin for MZ?

❖ Hello, I was looking in the forums for a plugin that would help me to use clipping masks in RPG MAKER MZ, luckily I found one, but unfortunately this plugin only works for MV, I tried to edit the code to add a parameter to it to be able to use it with MZ, but it didn't I have knowledge on how to do it so I completely failed. If anyone knows how to make this plugin compatible with MZ, I would appreciate it if you could help me with it. I would really REALLY appreciate it.😢

I found this plugin here MaskPlugin was made by that person, not me.

I want to use this pluguin for my current project where i'm using MOG_PictureEffects plugin for make talikng and blinking sprites but i have an annoying visual bug that only shows for some seconds, where the picture that is a Sprite Sheet shows complete in the screen instead one of them, that's why i'll use the mask plugin for just show one of them. It's difficult to explain.😩

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-do-compatible-maskplugin-for-mz.156715/