Thank you for the advice, I didn't know that Purr-Data had this capability for arrays! However, it seems that even there, structures behave similarly regarding this issue. It's true that "clicked" messages are sent, but they trigger when clicking on an undefined area of the canvas that represents the entire structure, even in the case of multiple arrays. Additionally, these messages return the coordinates of each element but not when clicking on the elements themselves...
The goal would be to make the substructure that identifies each element able to detect multiple coordinates. I wonder how challenging this would be. Il giorno sab 10 ago 2024 alle ore 11:36 João Pais <jmmmp...@gmail.com> ha scritto: > arrays do send click messages when clicked - unless you're dragging the > mouse for a long time, a partial solution could be to use the message to > trigger a time-limited polling (and when this polling finds differences, > activates itself again). > > > > Hello, > > > > I've noticed that while structures in Pure Data usually can send > > "click" and "change" notifications when modified, this behavior > > doesn't seem to apply to the elements of an array within these > > structures (apart from polling solutions like using [metro]). > > > > How difficult would it be to change this behavior in the future, or > > would Pure Data's architecture not easily allow for it? > > > > Best regards, > > > > Pierpaolo Barbiero > > --- > Pd-list - pd-list@lists.iem.at > > https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/RK37WCFHSPZ5PCM4UQJT3JUNNLO3EVAQ/ > > To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> https://lists.iem.at/ > >
--- Pd-list - pd-list@lists.iem.at https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/2P634W3NDLE5POKU2VW3VWVHQSYVD4N7/ To unsubscribe send an email to pd-list-le...@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/