Adding Child in Manager classes not allowed?

So I went on making a simple image to be displayed when you invoke an action:

Spoiler
(function(){ BattleManager.invokeAction = function(subject, target) { this._logWindow.push('pushBaseLine'); if (Math.random() < this._action.itemCnt(target)) { this.invokeCounterAttack(subject, target); } else if (Math.random() < this._action.itemMrf(target)) { this.invokeMagicReflection(subject, target); } else { this.invokeNormalAction(subject, target); } subject.setLastTarget(target); this._logWindow.push('popBaseLine'); this.refreshStatus(); this.spAttack(); }; BattleManager.spAttack = function() { this.hiOugi = new Sprite(); this.updateSpAttack(); }; BattleManager.updateSpAttack = function(){ this.hiOugi.bitmap = ImageManager.loadPicture(this._subject.name); this.addChild(this._specialSkillAnimation); };})();  
But it says undefined is not a function on the this.addChild line. Is there a problem adding sprite images in BattleManager?
Simply because Battlemanager is a static classes and not a true classes

like it's was impossible to do this by calling a sprite in Ace you can't do that in MV too
Simply because Battlemanager is a static classes and not a true classes

like it's was impossible to do this by calling a sprite in Ace you can't do that in MV too
In Ace's battle manager you can actually call a sprite as far as I remember.
Hi,

As far as I know, sprites can only be added to scenes (so they are drawn while the scene is active) or other sprites (drawn while the parent sprite is drawn). If you want a sprite to be displayed during battle, you should add it to the battle scene or the Spriteset_Battle instance.
I see. I'll try to see what I can do because I want to determine which actor has used a skill and when it would be executed. I saw that the only way I could do this if I was into the invoking action for the skills, using of items, etc. I'll check Spriteset_Battle in this case.
this._specialSkillAnimationis never being set.
BattleManager.updateSpAttack = function(){ this.hiOugi.bitmap = ImageManager.loadPicture(this._subject.name); this.addChild(this.hiOugi); };changed it to something like this, and addChild is still an undefined function.
Because BattleManager doesn't inherit from PIXI.DisplayObjectContainer, like Sprite and Scene do.
Because BattleManager doesn't inherit from PIXI.DisplayObjectContainer, like Sprite and Scene do.
Hmm, so where should I go, if I ever want to present a Sprite when an action is about to be executed? For example, Harold chooses Spark. Before Spark executes, I just want this sprite to show. Where can I find this specific action?
Why would you want the sprite to show before it is executed? 

In Game Action apply method you would say this.item().name === 'spark', call something like sprite.push or scene.push or something .push and push the object on.

Original thread: https://forums.rpgmakerweb.com/threads/adding-child-in-manager-classes-not-allowed.51099/