Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

Read up on detecting collisions between the two objects and...