---
title: attributedText
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/sklabelnode/attributedtext
---

# attributedText

The attributed string displayed by the label.

## Declaration

```swift
@NSCopying var attributedText: NSAttributedString? { get set }
```

## Discussion

Discussion The following properties are ignored if attributedText is defined:  |   |   |

## See Also

### Setting a Label’s Text

- [text](spritekit/sklabelnode/text.md)
