OnTriggerEnter2D is not working

i even tried it without the tags and used debugs but its still not working both of the objects have rigibodies2d and they are not kinementic so idk what the problem is

void OnTrigger2DEnter(Collider2D other){ 

		if(other.gameObject.tag == "player");{
			charge = true; 

You put OnTrigger2DEnter when you had meant to put OnTriggerEnter2D.