Search the Community
Showing results for tags 'inputDown'.
I have this code right here: image.events.onInputDown.add(clickListener, this); It calls the function clickListener, but I'm confused with the rest. I was taking a look at the source and I didn't find any way to pass an argument to clickListener when I clicked on my sprite. I wonder if there is a way of passing arguments to a function when I click down a sprite (onInputDown)?