• Content Count

  • Joined

  • Last visited

Everything posted by V K

  1. var coords = poly[0].map(function (point) { return new PIXI.Point(point[0], point[1]); }); var drawing = new PIXI.Polygon(coords); drawing.hitArea = new PIXI.Polygon(coords); drawing.interactive = true; drawing.buttonMode = true; pixiContainer.beginFill(color); pixiContainer.drawPolygon(drawing); Polygon is drawing but couldnt hit on hitarea Checked Click and mousedwon ... Or is there any issues in my code ? Please help me
  2. i have multiple canvas in my application one above another . Both canvas have some elements. Is there any possibilities to click elements in both canvases. in normal case we can click the last child element .. any help?