pixi-react
pixi-react copied to clipboard
How to click Sprite change state
I have a Sprite and i want to click it call function change state
See events: http://pixijs.download/dev/docs/PIXI.interaction.InteractionManager.html
Example: https://codepen.io/inlet/pen/NYazPq
Based on your example, I successfully triggered the click event By the way, the document address has changed https://pixijs.download/dev/docs/PIXI.InteractionManager.html thank you !