Jump to content

[RESOLVED] Interactivity not working on rootStage


Recommended Posts

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 :)



Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...