I want to have an object be hit then be destroyed and I have no idea how to do that. I also have a tiny amount of knolage on collisions so that could be the issue to
Code (CSharp): using UnityEngine; public class Collision : MonoBehaviour { private void OnTriggerEnter2D(Collider2D other) { if (gameObject.name == "lever") { Destroy(GameObject.Find("Floor")); } } } Here
I think the error in your code is that you are not checking to see if the object you collide with is called "lever". Try replacing gameObject.name with other.name. Since you say you don't know much about collisions, look at the unity tutorial that focuses on that specific subject.