How do we make a moving camera that works on mobile?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I want to achieve a moving camera like the one in bloxburg build mode. I tried it out, but it only worked for pc.

  1. What is the issue?

The camera works only on pc. I need to drag the mouse to move the camera. However, how do I make it so that touch can move the camera?

  1. What solutions have you tried so far?

I have tried some tutorials, but none of them helped me :(.

I would like someone to explain how do we make the camera move on touch? I don’t want an entire script btw.

nevermind, I found the solution by doing some research.