<div dir="ltr"><div>Nevermind, it's working the way I expected, the y value was being output and I thought that was the pointer's id.<br><br></div>Cheers,<br><br>Pierre.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-03-05 11:24 GMT+01:00 Pierre Massat <span dir="ltr"><<a href="mailto:pimassat@gmail.com" target="_blank">pimassat@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div>Dear list,<br><br></div>First of all i'd like to say that i'm very impressed by the potential of data structures in Pd. I've always kind of ignored this feature and it's a pity because it's really worth diving into it. <br>
</div>That being said I think that help and example patches are far from sufficient for beginners, and if it wasn't for Chris McCormick's s-abstractions I would have been able to really figure out how to use them (stuff like how to make an entire polygon draggable, how to use GOP with proper scaling, etc.).<br>
<br></div>I m now stuck with a question. How can I identify the element which was just clicked ? I know that [struc] outputs the events, like click, selection and change, but I thought I could identify individual elements by their pointer id. It turns out that I get the same pointer for every element, although I created them sequentially (using [append]).<br>
<br></div>(I guess something must be escaping me about pointers... I've noticed that within the same template, I get different pointers for elements on different y-levels, but the same pointer for all the element on the same y-level regardless of their x.)<br>
<br></div>Cheers,<br><br></div>Pierre<br></div>
</blockquote></div><br></div>