PartProxy
LuaPartFindChildByName Method |
Find a part between my children, if there are more parts with same name, it returns the first found.
Search at all levels
Namespace: PartProxy
Assembly: PartProxy (in PartProxy.dll) Version: 1.0.0.0 (1.0.0.0)

public LuaPart FindChildByName( string prtName )
Public Function FindChildByName ( prtName As String ) As LuaPart
public: LuaPart^ FindChildByName( String^ prtName )
member FindChildByName : prtName : string -> LuaPart
Parameters
- prtName
- Type: SystemString
Name of the PRT.
Return Value
Type: LuaPartLuaPart.

Exception | Condition |
---|---|
InvalidOperationException | Unable to call the method on part. |
