pixi-react icon indicating copy to clipboard operation
pixi-react copied to clipboard

How to click Sprite change state

Open namhd1992 opened this issue 7 years ago • 2 comments

I have a Sprite and i want to click it call function change state

namhd1992 avatar Mar 04 '19 09:03 namhd1992

See events: http://pixijs.download/dev/docs/PIXI.interaction.InteractionManager.html

Example: https://codepen.io/inlet/pen/NYazPq

inlet avatar Mar 04 '19 09:03 inlet

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 !

gp3098 avatar Apr 18 '21 13:04 gp3098