yeah. In your code, add a public variable, drag your UI element into it unless you're referencing it with a tag or something. Then you can do something like variable.transform.position to get and change the position.