Is there a way to find out the currently selected elements through lua? i have searched through the forum and wiki and i couldn't find anything about this.
thanks so much.
edit and note: elements[tpt.selectedl] will give you the element id for the left mouse selected element. found this out while experimenting.