# .$align

Align object in stage

#### .$align(width,height)

- `width` <String> Width can be (null, left, center, right)
- `height` <String> Height can be (null, top, center, bot)

#### Example:

```javascript
sprite.$align('center',null)

sprite.$align(null,'center') 

sprite.$align('center','center') // align in middle of the stage
```
