THREE.Raycaster() + mouse/touch events for checking the intersection with the planet. Then mouse/touch move will indrease/decrease the radius of orbit.
As the topic starter didn’t provide an example, I dare to suppose that it’s something like that:
https://jsfiddle.net/prisoner849/t3mowjcy/ (made it about a year ago)
Having this jsfiddle as a base, the only thing, which needs to be changed with “mousemove” is:
earth_container.position.x = -Math.cos(time) * 10;
earth_container.position.z = -Math.sin(time) * 10;
animate() function, where
10 is the radius of orbit