// import getStudio from '@theatre/studio/getStudio'

// export function createCursorLock(cursor: string) {
//   const el = getStudio()!.ui.containerShadow.getElementById(
//     'pointer-events-root',
//   )! as HTMLDivElement

//   el.style.cursor = cursor
//   el.classList.remove('pointer-events-mode-normal')
//   el.classList.add('pointer-events-mode-locked-for-drag')
//   const relinquish = () => {
//     el.style.cursor = ''
//     el.classList.add('pointer-events-mode-normal')
//     el.classList.remove('pointer-events-mode-locked-for-drag')
//   }

//   return relinquish
// }
export {}
