views:

5

answers:

0

Hi all!

I got a question about TouchDragInside Actions.

I have a button which is connected to two actions.

The first action is a TouchUpInside-action, which set the view's alpha to 1.0!

The second action is a TouchDragInside-action, which should set the alpha from my view to 0.0. But i want that this action happens only after i slide perhaps 25 pixels in my button. Is there a way to check, how far my finger moved in the button?

How can i do this? Perhaps something with the start and end point?

Thank you a lot for helping me!

Greeez Franhu