Component GetFrame

Returns a reference to a XML HUD Frame.
;Usage
Component.GetFrame(hudframe_id)
Parameter 	Type 	Description
hudframe_id	string	ID of HUDFrame from XML
;Return Value
Returns a reference to a frame. Type is Userdata. This object has some functions.
HUD_FRAME:GetChild(child_id) - gets child_id of the frame
;Examples:
<nowiki>
local MAIN = Component.GetFrame("main");
function OnComponentLoad()
	framework = MAIN:GetChild("framework");
end
</nowiki>
;Reference
* API_Functions/Frame
Category:Addon_API