Mouse movement in viewports

  1. What do you want to achieve? Keep it simple and clear!
    I need help on how I can achieve mouse movement in a gui, most specifically viewport.
    What I mean by this is to be able to drag or move your mouse around, in viewport and have the camera move around a certain object, e.g tool, part.

  2. What is the issue? Include screenshots / videos if possible!
    I’m completely lost as to where to get started, and don’t know how I can achieve it.

  3. What solutions have you tried so far?
    I haven’t found any solutions but I assume I could do this by using ‘UserInputService’ and get MouseDelta ? I’m not sure as I don’t know where to even start.

I’m not sure if doing this is going to be more complicated, as the camera in the viewport has to move around relative to the mouse movement, but I definitely don’t want to be moving the actual part around in contrast to the camera as it’s definitely going to hinder performance significantly. Any help would be greatly appreciated.