Leap Motion - Detect the number of hands visible

Hi All,

I have only just started using Leap Motion in Processing and I was wondering if there is a way of detecting how many active hands are being detected by the Leap Motion device. I want to make an ellipse appear when both hands are detected. I have tried using

if (hand.isLeft() && hand.isRight()) {
}

But it does not seem to allow both to be true. Can anyone help on this?

Thanks,

Hamish

i guess “hand” is ONE hand,
and that can be left OR right, but not both


but as you not give any information about what processing library you are talking about
( or link to it )
and also not post your code
it is just a idea you can ignore.