Trigger an event multiple times

How can I trigger this collision event multiple times? For now,this event is triggered only once.Thank you!

local function cowCollision (event) if event.phase == "began" then cow:setSequence("cowBeaming") cow:play() end end cow:addEventListener ("collision",cowCollision)