> Hi Gabriel
welcome to the SVG Developers List, >>This is my first question here. I am programming a breakout-like game (arkanoid-like if you prefer), just for fun and for discovering SVG possibilities. It is not very easy to find help on SVG ecmascript >>programming (so if you have some links, please send them to me ;) i have a very rudimentary unfinished breakout like game here: http://www.treebuilder.de/svg/arkanoid/v3.svg and this is how i do the reflection part: http://www.treebuilder.de/svg/arkanoid/v2.svg >>Here's the point: I would like to get an element from a x,y point (like in HTML), or at least get the color of the image at this point. I could program a function, but first I would like to make sure it does not >>exist. Does anyone know such a function ? there are four methods of the SVGSVGElement ( http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement ) which you could use: NodeList getIntersectionList ( in SVGRect rect, in SVGElement referenceElement ); NodeList getEnclosureList ( in SVGRect rect, in SVGElement referenceElement ); boolean checkIntersection ( in SVGElement element, in SVGRect rect ); boolean checkEnclosure ( in SVGElement element, in SVGRect rect ); but unfortunatly they are not implemented anywhere. i doubt that you will be able to write a function to get a points color either, as there are no pixels in SVG, and therefor you dont have access to pixel values. hth Holger -- if this information was useful, please try to help someone else ! My Private Homepage: http://www.treebuilder.de My Companys Website: http://www.klimapartner-berlin.de ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

