how to play a sprite on a collision

I need to play a sprite when the jet hits the road. oh and if it makes a difference the jet is also a sprite.

Have you got your collision handler set up?

If not see this guide: https://docs.coronalabs.com/guide/physics/collisionDetection/index.html

After reading that…

On your “began” event in your collision handler just do this:

objectIWantToPlay:play()

Have you got your collision handler set up?

If not see this guide: https://docs.coronalabs.com/guide/physics/collisionDetection/index.html

After reading that…

On your “began” event in your collision handler just do this:

objectIWantToPlay:play()