Cursor changer js

broken image
broken image
broken image

Var sphere = new THREE.Mesh(spheregeometry, spherematerial) Ĭontrols = new THREE.OrbitControls(camera, renderer.domElement) Var baseVector = new THREE.Vector3(0, 0, 1) Hovering, its changing when clicked on plane geometry and its cursor is not retaining to its original position.Ĭan someone please help me how to solve the problem. I tried using this statement '$('html,body').css('cursor','pointer') ' but mouse cursor is not changing on On plane geometry the mouse should retain its original style. Now when hover on plane geometry the 'mouse cursor' should change to 'mouse pointer (hand)' and when not hovered I have added a sphere and plane geometry to the scene when clicked on plane geometry it is linked to a website

broken image