problem with svg drawing animation

Hi guys, i recently started working on a svg drawing animation (stroke dash), animation works fine, it is all set up but how to get the animation start in viewport? all i want is that it starts when the user scrolls down to the animating element area