How to use customEventData?

i have tried to add custom event data. if i understand correctly customEventData has a value i can use in the callback. but when i return it it returns [object,object] instead is there a way to turn it into the value i inputted.
I am using cocos creator 2.3.4

never mind i figured it out i wanted to find the name of the node that called the function i found it like this

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.