macpherson

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by macpherson


  1. Hi! Is there any way to make set of arcs interactive? I have next not working code:

     

    items.forEach(item => {
      const arc = new PIXI.Graphics();
      arc.lineStyle(...);
      arc.arc(...);
      arc.interactive = true;
      arc.on('mousedown', event => {
        ...
      })
      app.stage.addChild(arc);
    })

    How to handle that correctly?