nanos world API Reference Unofficial documentation
Static function Shared Fast

Entity.IsChildOf

Gets if this Class is child of another class if this Class was created with the <a href='/docs/core-concepts/scripting/inheriting-classes'>Inheriting System</a>

Syntax

Lua
Entity.IsChildOf(class)

Parameters

Name Type Default Description
class table The other class to check

Returns

  • boolean