Detecting touch and vertical position


For a App that moves a robot I would like to use pitch and roll along with somthing shown in the image.
Touching the screen and sliding up and down should change the gain for the pitch, that means furter up the control is more precise but slow, further down more coarse but fast.
Removing the finger from the screen should stop the robot.
I tried with buttons and GotFocus. But I think there is no cursor on the Anroid phone.
What are the alternatives? Any ideas?
Thank you.

Use "when Canvas1.Dragged"
It has many interesting and useful parameters

Thank you, that works now.