# DROP OBJECT Directive

> Source: https://manual.pvxplus.com/pxplus-user-guide/object-oriented-pxplus/pxplus-oop-interface/drop-object-directive

**DROP OBJECT** *obj_id*

The **DROP OBJECT** directive is used to delete an object and its properties (if the reference count is 1). This directive has the same effect as using **REF(DROP** *obj_id*) to decrement the reference count from 1 to 0.

The **DELETE OBJECT** and **DROP OBJECT** directives may be used interchangeably for this purpose.

## See Also

**[DROP OBJECT Directive](https://manual.pvxplus.com/directives/drop-object)  
[DELETE OBJECT Directive](https://manual.pvxplus.com/directives/delete-object)**
