What exactly is the cursor ID number?

Canvas specific discussion
Post Reply
midimockup
Newbie
Posts: 41
Joined: 08 Nov 2012 15:55

What exactly is the cursor ID number?

Post 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
Traxus
Regular
Posts: 211
Joined: 30 Nov 2012 06:19
Location: Detroit
Contact:

Re: What exactly is the cursor ID number?

Post 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).
midimockup
Newbie
Posts: 41
Joined: 08 Nov 2012 15:55

Re: Cursor ID Number Value Significance?

Post 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.)
nick_liine
Liine Staff
Posts: 285
Joined: 01 Oct 2010 11:06

Re: What exactly is the cursor ID number?

Post 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.
Post Reply