IsAncestorOf (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
IsAncestorOf( Instance descendant )
Returns boolean is ancestor
Description: Returns true if the object is an ancestor of descendant.
Member of: Instance



Example
print(game.Workspace:IsAncestorOf(game.Workspace.Player.Torso)) --> true