Joee94 Posted November 7, 2018 Share Posted November 7, 2018 So I've got a parent sprite, and within that there is a child sprite. On this child sprite I have applied a mask, but the mask does not move as the parent moves. To combat this I currently have to get the parents position each frame and update the mask accordingly. Is there any way I can get the mask to move with the parent. It's causing me some headaches having to deal with handling this mask amongst the rest of the game. Thanks, Joe. Link to comment Share on other sites More sharing options...
samme Posted November 7, 2018 Share Posted November 7, 2018 If you use childSprite.addChild(mask) etc. I believe it should work in the latest Phaser CE. Link to comment Share on other sites More sharing options...
Recommended Posts