LuaPart.GetSiblingPos Method

PartProxy

LuaPartGetSiblingPos Method

Returns the position of the part in its level () (0 based, -1 = top part)

Namespace:  PartProxy
Assembly:  PartProxy (in PartProxy.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int GetSiblingPos()
Public Function GetSiblingPos As Integer
public:
int GetSiblingPos()
member GetSiblingPos : unit -> int 

Return Value

Type: Int32
System.Int32.
Exceptions
ExceptionCondition
InvalidOperationExceptionUnable to call the method on part.
See Also