Skip to content

useHand

Provides a reference to a current XRHand, filtered by handedness.

<script>
import { useHand } from '@threlte/xr'
const leftHand = useHand('left')
const rightHand = useHand('right')
</script>
// CurrentReadable<XRHand | undefined> - The current XRHand
const hand = useHand('left')