title: Kinect Manipulate Skeleton Data
body: <p>I have a <code>Skeleton skeleton</code> which comes from the <code>SkeletonFrameReady</code> event. And I have a function to draw skeletons on the windows,</p>
  
  <pre><code>void DrawSkeleton(Skeleton s),
  </code></pre>
  
  <p>which takes the Skeleton as the input and draws 2D image of skeleton to my window.</p>
  
  <p>Now, I want to change, for example, x and y value of the right hand and draw it on the window using the same function, <code>void DrawSkeleton(Skeleton s)</code>.</p>
  
  <p>However, when I try to do something like:</p>
  
  <pre><code>skeleton.Joints[JointType.HandRight].Position.X = 3;
  </code></pre>
  
  <p>It doesn't allow me to do that:</p>
  
  <blockquote>
    <p>Cannot modify the return value of 'Microsoft.Kinect.Joint.Position' because it is not a variable.  </p>
  </blockquote>
  
  <p>which is probably because <code>Position</code> is not a variable, is a property.</p>
  
  <p><strong>Question:</strong></p>
  
  <p>How can I duplicate a <code>Skeleton</code> object and change the <code>Position</code> values of <code>Joint</code>s on that object.</p>