are you adding it on the object?
object:addEventListener(“collision”,coinCollision)
do not include the “()” in the eventlistener.
if you have specified that the object names within “objects” layer are named coin it will find them.
right click on the object name in tiled, select properties, under the name column type name under value type coin