polygonButton is an extension to cc.button
Enable isSoundEffectButton to start setting sound effects
Enable the isPolygonButton to start editing the polygon region in the view
Click on line segments to add polygon vertices
CTRL+ click on a vertex to remove it Vertex can be dragged
Press resetPolygon to restore the polygon area.