I am wanting to access the names "Blue Ball", "Red Ball" and "Floor".
Preferably using a method in a similar fashion as to viz.pick(). Although I did a search in the forum before posting this, I admittedly found a post I had missed which discussed the same problem. My bad!
The poster was told that he could get the name from node and compare this to the object returned from viz.pick() which I have been able to do but my issue with this is that eventually, I will want to be loading in large scenes so creating long if statements isn't the elegant (or possibly even the efficient) way I wanted to go about things.
P.s Thanks for the reply