— is correct
The solution is to pass the objects' UID into the function as a parameter
For example:
Call myFunction (pos: 300, alphabetUID: alphabets.UID, dotsUID: dots.UID)
myFunction
Pick alphabets by UID: alphabetsUID
Pick dots by UID: dotsUID
(then do your actions)