question regarding touch events?

Hey, all! I am an extreme beginner and just started using corona…So far I have learned how to put a background and image up and im thinking the next step is interacting with my little fish thats on the screen but i just can’t figure out how to do it. I’ve read the docs and searched the forums but i belive its just my ignorance to all of this getting in the way…so i would really appreciate some help! I can give you my code so far and if its not too much trouble would you be able to show me what the code looks like so i can drag this fish around the screen? Thank you for the help!

background = display.newImage ( “fishtank.png” )

myImage = display.newImage( “fish.png”, 20, 100 )

this is all i have lol

[import]uid: 14864 topic_id: 5339 reply_id: 305339[/import]

hi…

regarding your problem have a look at the “drag platform” example for instance in the included examples. there’s a dragUI helper class

wrong forum category by the way. you should post in the “new users” section

this forum category is to do with the actual lua language itself, the question you are asking is related to the corona sdk, not specifically the Lua language in general

regards
J [import]uid: 6645 topic_id: 5339 reply_id: 17751[/import]

Ok, awesome i knew there had to be an example somewhere. Thank you. [import]uid: 14864 topic_id: 5339 reply_id: 17823[/import]