# turn proc (applied to a matrix)

Source: https://ref.dm-lang.org/proc/turn/matrix

### Format
> `turn(Matrix, Angle)`

### Returns
> A new matrix which has been rotated.

### Args
- `Matrix`: a matrix to rotate
- `Angle`: An angle in degrees (clockwise rotation).


```dm /turn/
mob/verb/drink()
   //this effect is very confusing!
   usr.transform = turn(usr.transform, 90)
   usr << "Woah!  That stuff is powerful!"
   sleep(200)
   usr.transform = null
```

### See also
- [turn proc](https://ref.dm-lang.org/proc/turn/index.md)
- [matrix](https://ref.dm-lang.org/matrix/index.md)
