title: Scripting <path> data in SVG (reading and modifying)
body: <p>Can anyone really really help me, please?
  I've been searching for ways to run scripts for my SVG.
  But all the things i got doesn't match up! And it doesn't contain enough information why he used that set of codes. For example, one used event.target, another had event.getTarget(), and another had event.target.firstchild.data.
  Can anyone help me, please?</p>
  
  <pre><code>&lt;svg xmlns="http://www.w3.org/2000/svg" version="1.1"&gt;
    &lt;path d="M150 0 L75 200 L225 200 Z" /&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>is an example of a path svg right? What i need is to get those coordinates, probably put it in a variable, and use it as coordinates for another svg. So how can i do that? Another thing is how can i change those coordinates by entering numbers in an interface.</p>
  
  <p>So i tried to look for answers, but like i said, i didn't find the info i needed or maybe i just didn't i understand what it showed me.</p>