How do I make a vertical pan

I have seen it in many stories and I would like to use it in my story too but I don’t know how.
Could somebody tell me how the coding for this is ?

Do you mean something like this?

Yes , but I don’t understand how to code it.

How about this?

Well she wants to know the same thing

I saw the responses . Thank you very much for helping me :+1:

Hey I can make a template for the same of you want, just pm me.