How do you access display objects in a display group using the display object's variable name?

Yup, don’t see why not.

Although you’d want to make r local so that that reference is deleted from memory when the function ends.