Alex_Matveev Posted June 11, 2015 Share Posted June 11, 2015 hitArea property with PIXI.RoundedRectangle doesn't workvar button = new PIXI.Graphics();button.beginFill();button.drawRoundedRect(500, 500, 224, 164, 40);button.endFill();button.buttonMode = true;button.interactive = true;button.hitArea = new PIXI.RoundedRectangle(500, 500, 224, 164, 40);this.addChild(button)Please assist. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.