Tylox Posted April 17, 2017 Share Posted April 17, 2017 I've a visible sprite at the center of my canvas, but following http://pixijs.github.io/examples/index.html#/demos/interactivity.js gives no result. Events are never actionned. Edit: as I tried on this.stage and my hud was on top, it was not working. Then I have to create a new GUI stage on top of the hud this.renderer.render(this.stage); this.renderer.render(this.hud.container); Quote Link to comment Share on other sites More sharing options...
Taz Posted April 17, 2017 Share Posted April 17, 2017 Setting interactive to true and handling the event should be enough. Can you post the code that isn't working or a CodePen or JSFiddle? It's hard to guess what's wrong otherwise. Also some interactivity issues have been addressed since v4.3.4, so it's probably good to stay up to date. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.