---
title: CSSTransformComponent.is2D
slug: Web/API/CSSTransformComponent/is2D
tags:
  - API
  - CSS Typed Object Model API
  - CSSTransformComponent
  - Experimental
  - Houdini
  - Property
  - Reference
  - is2D
browser-compat: api.CSSTransformComponent.is2D
---
{{APIRef("CSS Typed OM")}}

The **`is2D`** read-only property of the {{domxref("CSSTransformComponent")}} interface indicates where the transform is 2D or 3D.

## Syntax

```js
var is2D = CSSTransformComponent.is2D;
```

### Return value

A boolean. True indicating the transform is a 2D transform, false if it is a 3D
transform.

## Examples

To Do

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
