Start a new topic

How to get allTouches at once like event.allTouches in iOS

Hi Team,

I am struggling from last 7 days to get the allTouches in JUCE.


Unable to find out a way to get allTouches at once. I tried this also.


event.source.getIndex()


Kindly help me how I can retrieve allTouches at once. For eg: in iOS, I do like this


 override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {

      let allTouches = event?.allTouches ?? Set<UITouch>()

}

Login to post a comment