My collision isn't working

My collision isn’t working.

this is my code

// paste your code here

screenshot of a code editor

nothing has changed ive made sure the tags are the same and ive made sure the object is marked as enemy

@MagnusMakesGames it worked everyone make sure to put rigidbodies when working with collision

You must add a rigid body to at least one of the colliding objects