// Start is called before the first frame update void Start() { horse.OnClick += OnClick; horseLablePosition = horse.GetComponent <RectTransform>().position; }