How to fetch data on react-spline Mouse click on 3d object?

Viewed 10

So I want do call await fetch("myurl") on click and redraw 2d UI parts after that. How to do it in react-spline event call on 3d scene?

0 Answers
Related