September 20, 2022
Recursively find child windows. Returns the child window with the given name. If there is no child window with this name, this function returns nil.
||Instance name of the window to get|
||Window instances found|
Get the window under the subset based on the window instance name
--Create two image controls with instance names image1 and image2 local saveWindow1 = UI:CreateGUIWidget(Enum.WidgetType.Image, "image1") local saveWindow2 = UI:CreateGUIWidget(Enum.WidgetType.Image, "image2") --Set the two picture controls to the UI root node saveWindow1.Parent = UI.Root saveWindow2.Parent = UI.Root --Get the window instance of the subset based on the window instance name local getWindow1 = UI.Root:GetChildByName("image1") local getWindow2 = UI.Root:GetChildByName("image2") -- get the correct window instance print(saveWindow1 == getWindow1) print(saveWindow2 == getWindow2)
[BMGC] Copyright Infringement Claim Garena wholly respects the intellectual property rights of others and does not tolerate the infringement of these rights on our platform. As outlined in our Terms of Service, we will review reports of infringing content and remove content from our platform where necessary.
[BMGC] Creator Contest Rules Dear creators, you're invited to participate in the Blockman Creator Contest. This creator contest is organized across the globe and your game will be played by players from around the world! Submitted games will be evaluated in the Game Submission and Game Evaluation stages, and the winners will get attractive prizes. If you are interested in participating in this contest, please take note of the following contest rules and regulations.