@jimmyy4(View Post) this is one of those things that I don't know how it's missing from lua ... but it is. There is currently no way to set the current element, and in tpt++ (the current version), the way that is supposed to be used to get the current elements is broken.
There is no way to do it then. Even my old favorites menu script is broken. I will eventually add functions to do this though.