Viewport control by touch dragging (Mobile)

What input should I use in project settings to get it so when I drag my thumb across the screen it turns the camera the that way. Or do I need to make a blueprint for this? (Mobile)