Inconsistent event listener syntax

Hello,

I noticed that event listeners have an inconsistent syntax. :huh:

I would like to know the difference between:

balloon:addEventListener( "tap", pushBalloon )

and:

balloon.collision = onLocalCollision balloon:addEventListener( "collision" )

pushBalloon and onLocalCollision are both functions.

Keep in mind Iā€™m a complete newbie to LUA (and Corona itself) but I do have experience in other programming languages.

Thanks! :slight_smile: