3D Object Rotation with Touch

hi. i can rotate a 3d object with one finger

but when i try to scale it with two fingers, it keeps rotating

VID-20230409-WA0005

any suggestions please, i use a simple script for the rotation
Also I wanna rotate the object if i touch it and not another spot in the screen

THANKS

Try this asset from the library.

Thank You so much, works like a charm