# `GSComponent.shouldAlign`

*Instance Property*

Whether the component and containing glyph normally qualify for automatic base-glyph alignment.

## Declaration

```swift
var shouldAlign: Bool { get }
```

```objc
@property (nonatomic, readonly) BOOL shouldAlign;
```

```python
shouldAlign() -> bool
```

## Discussion

This value does not account for [`GSComponent.alignment`](/Core/GlyphsCore/GSComponent/alignment).

## See Also

### Alignment

- [`GSComponent.GSComponentAlignment`](/Core/GlyphsCore/GSComponent/GSComponentAlignment) — A policy or result of automatically positioning a component.
- [`GSComponent.alignment`](/Core/GlyphsCore/GSComponent/alignment) — The policy for automatic positioning.
- [`GSComponent setAlignmentFast:`](/Core/GlyphsCore/GSComponent/setAlignmentFast:) — Sets the automatic-positioning policy without undo, change notifications, or layer updates.
- [`GSComponent.effectiveAlignment`](/Core/GlyphsCore/GSComponent/effectiveAlignment) — The result of the most recent automatic positioning.
- [`GSComponent.alignmentType`](/Core/GlyphsCore/GSComponent/alignmentType) — The coordinate mode used for automatic base-glyph alignment.
- [`GSComponent.doesAlign`](/Core/GlyphsCore/GSComponent/doesAlign) — Whether the component participates in automatic base-glyph alignment under the current policy.
- [`GSComponent enableAlignment`](/Core/GlyphsCore/GSComponent/enableAlignment) — Enables automatic positioning.

