---
title: opacity
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnnode/opacity
---

# opacity

The opacity value of the node. Animatable.

## Declaration

```swift
var opacity: CGFloat { get set }
```

## Mentioned in

Animating SceneKit Content

## Discussion

Discussion Possible values are between 0.0 (fully transparent) and 1.0 (fully opaque). The default is 1.0. You can animate changes to this property’s value. See Animating SceneKit Content.

## See Also

### Modifying the Node Visibility

- [isHidden](scenekit/scnnode/ishidden.md)
- [renderingOrder](scenekit/scnnode/renderingorder.md)
- [castsShadow](scenekit/scnnode/castsshadow.md)
- [movabilityHint](scenekit/scnnode/movabilityhint.md)
- [SCNMovabilityHint](scenekit/scnmovabilityhint.md)
