[SOLVED] Method to detect just one touch

How to detect just one touch, because I was using this:

this.entity.element.on('touchstart', this.onTouch, this)

this touchstart detects if my finger is on the screen so the function is called a lot of time. Is there an event to just detect one touch, like I touch the screen, and I don’t remove my finger, but it continous to be just one touch?

Try with ‘click’, or touchend.

1 Like

Thranks, both worked

2 Likes