how would i target a section of a graphin of lineTo and make jsut that section not visible
here is my current code…
private function drawLaser():void
{
laserCanvas.graphics.clear();
laserCanvas.graphics.lineStyle(5,0xffffff);
laserCanvas.graphics.moveTo(draggableVector[0].x,draggableVector[0].y);
for (var i:Number=1; i<DRAGGABLES; i++)
{
laserCanvas.graphics.lineTo(draggableVector*.x,draggableVector*.y);
}
laserCanvas.graphics.lineTo(draggableVector[0].x,draggableVector[0].y);
}
i want to target the section between draggableVector2 and draggableVector3 and make that section not visble…
and i wanat this to be inside of a hittest for whenever the line hits an “obstical”