getRootElement
Shared
Returns the root element, the top of the element tree. It is the same value as the global root.
element getRootElement()
Returns
The root element.
Example
addEventHandler("onClientResourceStart", getRootElement(), function(resource)
outputDebugString(getResourceName(resource) .. " started")
end)