@Revel Theres a small performance impact but I very much doubt you'd notice it unless your working in an extremely heavy scene where every frame counts. That said, this method does affect performance the more items you draw on screen. If you notice the script I posted above actually draws just one item to the screen which…
I don't know the answer to your question, but I wrote a similar script to yours a while ago that may give you some ideas how to make your code more compact: fn vpSelStats_fn = ( vpWidth = gw.getWinSizeX() selType = try(($.baseObject) as string)catch("n/a") SelName = try(($.name) as string)catch("n/a") selMod = try…