skip to Main Content

Reactjs – onMouseDown is not working in Spline-react

import Spline from '@splinetool/react-spline'; import { useRef } from 'react'; export default function App() { function onLoad(spline) { const obj = spline.findObjectByName('Clink'); // console.log(spline.style) spline.style = {width:"100vw"} // spline.camera.position.z = 0 // spline.canvas.width = "1920px" // let can = Object.keys(spline.canvas)…

VIEW QUESTION
Back To Top
Search