# pixelPerfect

> Forces pixel alignment for elements in the canvas. It only applies when _renderMode is set to Screen Space.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UIModule

```csharp
public bool pixelPerfect { get; set; }
```

### Remarks

Enabling pixelPerfect can make elements appear sharper and prevent blurriness. However, if many elements are scaled or rotated, or use subtle animated position or scaling, it may be advantageous to disable pixelPerfect, since the movement will be smoother without.
