Have you completely explored the help patches before writing this question? However you can use player node and use it like a mask/blend to get only the user part without background. Or do you mean if 2 people are standing closer and furthur away? For specific parts use get slice to draw X,Y,Z from skeleton node.
is that the Kinect with Kinect SDK? If so, you can use the output from the joint pin to select which body part. Somebody posted the list of joints and what they’re representing in this forum, maybe you can search for it.
so, you just need to connect the output from that joint pin to the GetSlice node and use the desired joint number as the second input. That’s how you get the X, Y and Z from the required body part. Then to select only the X, Y or Z you can connect GetSlice output to Vector (split) node.
I believe that method only works for 1 player, so by default if you’re the only person standing in front of the Kinect, it will gathers only the data from you. Kinect does an amazing job separating you (the person) from the environment.
Hope that helps :)
P.S. I believe this will also work with the Kinect OpenNI. Both nodes were made by vux if I’m not mistaken.