lovr.headset.getHands

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

hands = lovr.headset.getHands()

Arguments

None

Returns

NameTypeDescription
handstableThe currently tracked hand devices.

Notes

The hand paths 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