Get the object that triggered an event

How can i get the object that triggered the event, the (id)sender in obj-C ?? [import]uid: 3826 topic_id: 3039 reply_id: 303039[/import]

It’s either

[lua]function yourEventListener(event)
object = event.target[/lua]

or

[lua]function yourEventListener(target)
object = target[/lua]

depending on what kind of eventListener it is. [import]uid: 5712 topic_id: 3039 reply_id: 8893[/import]