---
title: "sculpt.faceSetVisibility: Face Set Visibility — Scene kit command — Kition"
description: "Shows, hides or isolates face set `faceSet` (or the one under `x`, `y`)."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/sculpt.faceSetVisibility"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/scene/commands/sculpt.faceSetVisibility](https://developer.kition.ai/docs/kits/scene/commands/sculpt.faceSetVisibility)

# sculpt.faceSetVisibility

**Face Set Visibility.** Shows, hides or isolates face set `faceSet` (or the one under `x`, `y`).

- Kit: Scene 0.1.0 (.kscene); reference: [Scene kit commands](https://developer.kition.ai/docs/kits/scene.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `action` | `"hide" \| "isolate" \| "showAll" \| "toggle"` | no | Hide the set, show only it, show every face, or toggle |
| `faceSet` | `integer` | no | The face set's id (0 for faces in none) |
| `x` | `number` | no | Or the face set under this viewport pixel: x (the pointer's when left out) |
| `y` | `number` | no | and y |

## Call through scene_run

```text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "sculpt.faceSetVisibility" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `action`, `faceSet`, `x`, `y`. scene_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "action": {
      "description": "Hide the set, show only it, show every face, or toggle",
      "enum": [
        "hide",
        "isolate",
        "showAll",
        "toggle"
      ],
      "type": "string"
    },
    "faceSet": {
      "description": "The face set's id (0 for faces in none)",
      "type": "integer"
    },
    "x": {
      "description": "Or the face set under this viewport pixel: x (the pointer's when left out)",
      "type": "number"
    },
    "y": {
      "description": "and y",
      "type": "number"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/scene-darwin-arm64@0.1.0 and the kit itself (scene_commands through @kition/cli@0.1.1, built from KitionAI/kition-scene@4d06faf).
