Hello!
If I log within Sprite_Enemy
I can see it has a parent object.
But when I try to access it, it returns null!
That logs null.
Any idea why?
If I log within Sprite_Enemy
Code:
console.log(this);
I can see it has a parent object.
But when I try to access it, it returns null!
Code:
console.log(this.parent);
That logs null.
Any idea why?