Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.9.0

Description

Description:

Removes a specific component from its parent object or item.

To get the existing components, use getComponents.

Syntax

Syntax:removeComponent component
Parameters:
  • component: Object - The component to remove.
Return Value:Nothing

Examples

Examples:removeComponent _optic

Additional Information

See also:getComponentsaddWeapon, getWeaponObjects
Multiplayer:
Problems:

Notes