jump object

I am trying to implement a bar that rebounds the object falling on it. however I just want the object to rebound when it falls on it from above the top edge. if the object is comming from bellow the object should pass as if the bar doesnot exsits. This is similar to what the bird does in tweetjump or doodle does in doodle jump. Any hints on how I can do this in corona ? [import]uid: 45566 topic_id: 26622 reply_id: 326622[/import]

See here: http://www.raywenderlich.com/4885/how-to-make-a-game-like-doodle-jump-with-corona-tutorial-part-1 [import]uid: 84637 topic_id: 26622 reply_id: 107883[/import]