---
title: hide()
---
Calling `hide()` in a part's draft method will mark the part as hidden.
This method returns the `part` object, so it's chainable
The [unhide](/reference/api/part/draft/unhide) and
[setHidden](/reference/api/part/draft/sethidden) methods also control a
part's visibility
## hide() example
```js
cont part = {
name: 'examples.hide',
draft: ({ hide, part }) => part.hide()
}
```