Agent.transform is pure