Revision Difference
Entity:Remove#515787
<function name="Remove" parent="Entity" type="classfunc">
<description>Removes the entity it is used on.</description>
<realm>Shared</realm>
</function>
<example>
<description>
⤶
```⤶
⤶
| Code = ents.FindByClass( "prop_physics" )[1]:Remove()⤶
| Output = Removes whichever prop is first found or errors if no entity was found.⤶
```⤶
</description>⤶
<code>ents.FindByClass( "prop_physics" )[1]:Remove()</code>⤶
<output>Removes whichever prop is first found or errors if no entity was found.⤶
```
⤶
</description>⤶
</output>⤶
</example>