Revision Difference
Entity:IsValidLayer#527747
<function name="IsValidLayer" parent="Entity" type="classfunc">
<description>
Returns whether the given layer ID is valid and exists on this entity.
<note>This function only works on <page>BaseAnimatingOverlay</page> entites!</note>
<note>This function only works on <page>BaseAnimatingOverlay</page> entities.</note>
</description>
<realm>Shared</realm>
<args>
<arg name="layerID" type="number">The Layer ID</arg>
</args>
<rets>
<ret name="" type="boolean">Whether the given layer ID is valid and exists on this entity.</ret>
</rets>
</function>