$ 0 0 Check the objects you have found are not the same as the one running this script? if (ai.transform != this.transform)