A hook for a quick way to add helpers to existing nodes in the scene. It handles removal of the helper on unmount and auto-updates it by default. const mesh = useRef() useHelper(mesh, BoxHelper, 'cyan') useHelper(condition && mesh, BoxHelper, 'red') // you can passe false instead...