About the UI stuff, thank you very much for providing the coordinate system conversion maths, I am just wondering how do you know which UIRect to use? is there some flag in the vtable or is there a different way to know? I am talking about the two rect structs in the ui element struct. Thanks.