What exactly is the cursor ID number?

Canvas specific discussion

What exactly is the cursor ID number?

Postby midimockup » 06 Jan 2015 17:15

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

Re: What exactly is the cursor ID number?

Postby Traxus » 06 Jan 2015 17:38

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).
Traxus
Regular
 
Posts: 216
Joined: 30 Nov 2012 06:19
Location: Detroit

Re: Cursor ID Number Value Significance?

Postby midimockup » 06 Jan 2015 18:11

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

Re: What exactly is the cursor ID number?

Postby nick_liine » 09 Jan 2015 17:59

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


Return to Canvas

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron