I have a pair of screen coordinates and I need to know if they overlap any GUI elements.
Is there some way of doing this or at least finding out if a given point is within the bounds of a GUI element?
It would 开发者_开发问答be preferable if there was some sort of isPointInsideAnyGUIElements()
function.
Use env->getElementFromPoint(position)
精彩评论