Page 1 of 1

What exactly is the cursor ID number?

Posted: 06 Jan 2015 17:15
by midimockup
Hey all
Trying to get into the canvas-- it's amazing!

Something I don't understand ... what exactly is this seemingly strange number that the cursor produces? In the Paths.jzml Tutorial, the cursor produces numbers like 349637920. Is there any significance to these digits?

Thanks!
MOH

Re: What exactly is the cursor ID number?

Posted: 06 Jan 2015 17:38
by Traxus
every time you touch a canvas, the cursor id is a unique identifier for that instance of the touch on that canvas. So, if you want to have a multi touch canvas, and track where each individual touch event is dragged etc, you would store and refer back to the various touch id's. A touch id will remain relevant until you release the touch instance (raise your finger).

Re: Cursor ID Number Value Significance?

Posted: 06 Jan 2015 18:11
by midimockup
Cool. Sorry I should have been more clear in the question...there is no significance to the actual value though, correct? (order of digits, number of digits, etc.)

Re: What exactly is the cursor ID number?

Posted: 09 Jan 2015 17:59
by nick_liine
No, of course not. It's just automatically generated indexes so you can keep track of each individual cursor. An id is a tag to identify that cursor.