Can't get touch events to work

Hello everyone,

I’m a beginning Corona user and a beginning programmer. I have set up a function in my code that allows three different objects to drop randomly 100 times. The problem is, when a user touches the objects they are supposed to vanish and the score is to go up by a certain number of points, depending on which object was touched. I can’t seem to get this part to work. No matter what I try, the physics objects won’t vanish when I touch them. I’ve looked at sample code, watched videos, looked at the documentation, and tried at least a dozen times to try and get this to work with no luck. Any help would be greatly appreciated. [import]uid: 47722 topic_id: 11910 reply_id: 311910[/import]

object:removeSelf()
object = nil

all that are no use? [import]uid: 16142 topic_id: 11910 reply_id: 43454[/import]

Hi darkconsoles,

I tried that and my objects no longer dropped like they were supposed to. [import]uid: 47722 topic_id: 11910 reply_id: 43493[/import]

I fixed it using e.target before e.phase. I think I over complicated that. Thanks for the reply, as it helped lead me in the right direction. [import]uid: 47722 topic_id: 11910 reply_id: 43496[/import]