Hello! I need a simple feature for my game. For now, I have a mechanic where the player can pick up an object and rotate it. The object can rotate when the player holds down the left mouse button. The object can also move farther away or closer to the camera if the player moves the scroll wheel.
I want to make it so people who play on phones (specifically Android) can use touch input in order to rotate the cube, or the basic zoom-in and out gestures in order to bring the object closer or farther away. Here is some code I wrote:
This is the inspection screen
This is the code for the mouse moving the object

This is the code for the mousewheel
Any help is appreciated!