Rotate circle object when sliding finger up and down and left and right in touch devices?

goal : i want to rotate a circle when a player slides finger up and down also left and right on center of the circle, any idea how to achieve that ? thanks in advance

there’s an epic livestream where they go over sliders which may help.

this stream has a game where you can rotate a sphere. it isn’t the same controls exactly, but maybe it could work for you.

thanks a lot , i’ll see what i can do , appreciated !