check if gameobject has tag code example Example: get if object has tag unity if (NameOfGameObject.tag == "A-Tag") { // some code }