On TriggerEnter issues

Hello, so I’ve just started to make my 2D space shooter game and I’m working on shooting the enemies. Such an easy task I know, but I don’t understand where I’m going wrong with it. Here’s my code attached to my bullet prefab (bullet is a trigger) that deals with triggers:

function OnTriggerEnter(otherObject: Collider)
{ 
   if(otherObject.gameObject.tag == "Enemy")
 {
 print("Hit");
 Destroy(gameObject);
 otherObject.GetComponent(EnemyScript).life -= 1;
 }
}

I’ve made sure my Enemy is tagged as “Enemy”, and it is a trigger. I’m not sure what’s wrong with this, but it probably just needs a new pair of eyes. Also, I have the “print()” there to tell me if there is collision. Thank you for all your help.

I just had to add a Rigidbody onto my bullet. I knew it was something simple that I overlooked.