Author Topic: Detect movings in the TouchArea  (Read 1621 times)

ciuffolo

  • Guest
Detect movings in the TouchArea
« on: March 25, 2013, 02:21:48 pm »
How can I detect when I'm only Touching the toucharea without moving my fingers and when I'm moving my fingers on the toucharea?
I know that this is so confused, but if you can help me...
Thanks in Advance.

glina126

  • Guest
Re: Detect movings in the TouchArea
« Reply #1 on: March 25, 2013, 05:30:45 pm »
how about the simple event variables provided with the touch function????

if(event == 1)
touched

if(event == 2)
moving

if(event == 3)
let go


ciuffolo

  • Guest
Re: Detect movings in the TouchArea
« Reply #2 on: March 25, 2013, 11:55:58 pm »
That's why I asked it:
I detect when is touched in event==2
but I want to know if is touched but I'm touching everytime the same spot or if is touched and i'm moving

wkohlenberg

  • Guest
Re: Detect movings in the TouchArea
« Reply #3 on: March 26, 2013, 01:34:36 am »
If I correctly understand you, you want moving and touching at the same place and time.
Make two touch areas. One for moving and the other for touching.
If it has touched give it a variable true. Do this for the other too. If the two variables are true then what you want to do


ciuffolo

  • Guest
Re: Detect movings in the TouchArea
« Reply #4 on: March 26, 2013, 05:53:02 am »
No,I'm sorry , but is not I'm looking for.
I resolved, thankyou...
Pratically I have one touchzone and I want to detect if I'm only pressing without moving the mous on the screen or if I'm pressing and moving the mouse... it's a bit hard to explain, but however, thankyou.