what is the code to do somthing whan the user sliding the screen?

hello, can someone help me please?
im trying to found out what is the code in unity to make things heppend whan the user sliding the screen.
hope that someone can answer me.
and sorry for the bad grammer, english isnt my main language.

Have a look at IDragHandler

It’s a bit old but take a look at the 4th post down:

https://forum.unity3d.com/threads/swipe-help-please.48601/