void OnTriggerEnter2D(Collider2D col) in mouse click code example Example: void OntriggerEnter (Collider other) void OntriggerEnter (Collider other)