using UnityEngine.UI;public GameObject 組件名字組件名字.GetComponent<RectTransform>().anchoredPosition = new Vector2(-9999, 9999);