S&box Wiki

Sandbox.Entity.Root

Syntax

Description

Gets the top most parent entity. If we don't have a parent, it might be us.