Help! How to make object inactive on collision?

Please used code-tags when posting code and not plain text. You can edit your posts to include this too.

Glad you got it resolved.

Thanks.