HowTo: attach touch listener function to a sprite

refer this