get CCSprite on ccTouchesMoved

204 Views Asked by At

In cocos2d I have created many sprites dynamically and i need get the current touched sprite in the event method for drag and drop.

Using this method:

- (void)ccTouchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{

}

Thanks.

1

There are 1 best solutions below

0
On