Box rotation by scrolling the html page


I have a site and I want it to rotate by scrolling the cube on the site
I made the rotating cube with mouse wheel event in Playcanvas and now I want to test to see if the scroll changes or not, how can I implement this to see the scroll in Playcanvas and finally how to enter my project into the site?