How do I Offset the x of the orbit camera script?

Hi @Grimmy ,

I think you need to convert the coordinates you pass to screenToWorld to take into account the viewport rect, take a look at this post:

1 Like