lovr.headset.getHands

Edit

Returns a table with all of the currently tracked hand devices.

hands = lovr.headset.getHands()

Arguments

None

Returns

NameTypeDescription
handstable The currently tracked hand devices.

Notes

The hand paths will always be either hand/left or hand/right.

Example

function lovr.update(dt)
  for i, hand in ipairs(lovr.headset.getHands()) do
    print(hand, lovr.headset.getPose(hand))
  end
end

See also