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


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


Try this asset from the library.

Thank You so much, works like a charm