access to table property

Hi there, 

I’m implementing multitouch functionality in my code and have the following problem: 

I want the listener to be added only to some objects “newImageRect”, which property myName = ‘xxx’ 

How I can access that property?

function multitouchListener( e )

   print(‘multitouchListener’,e)

   for k,v in pairs(e) do

     print(k,v)

   end

    print(’  ')

     e.target:addEventListener(“touch”,handleTouch)

end

addEventListener( “newImageRect”, multitouchListener )