How can I delete an object when clicked?

Bill Vlahos bvlahos at
Sat Jul 24 15:59:52 EDT 2010

I have an object (in this case an image) on a card that I want the user to delete.

If I put the following script into the image, Rev complains that the script is still executing so it won't complete.
on mouseUp
   delete me
end mouseUp

Error: (Object: stack locked, or object's script is executing)

Bill Vlahos

More information about the Use-livecode mailing list