How to create scoring system that will give the user points when they jump over an object?

I am working on a game that requires the user to jump over enemies to survive. I want to reward the user with points when they jump over an enemy. How can I accomplish this? All enemies have the same id because they are spawned through a random number generator.

May someone please help me in creating this so I may move forward with my game. Thank you.

Sincerely,

Alex

You could use collision dection with isSenor objects
https://docs.coronalabs.com/daily/guide/physics/collisionDetection/index.html

There are also a lot of flappy bird corona demos

Thank you, can you provide a link to any flappy bird tutorial for corona?

https://www.dropbox.com/s/vznlv750x5fpl1z/Flappy%20Bat%20-%20Composer.zip

You could use collision dection with isSenor objects
https://docs.coronalabs.com/daily/guide/physics/collisionDetection/index.html

There are also a lot of flappy bird corona demos

Thank you, can you provide a link to any flappy bird tutorial for corona?

https://www.dropbox.com/s/vznlv750x5fpl1z/Flappy%20Bat%20-%20Composer.zip