# Turn proc (icon)

Source: https://ref.dm-lang.org/icon/proc/Turn

### Format
> `Turn(angle)`

### Args
> angle: an angle in degrees

This rotates the icon clockwise by the specified amount.

```dm /Turn/
mob/verb/drink()
   //this effect is very confusing!
   var/icon/I = new(usr.icon)
   I.Turn(90)
   usr.icon = I
   usr << "You feel a little tipsy!"

   sleep(200)

   I.Turn(-90)  //turn it back
   usr.icon = I //should have just saved original value
```

If an icon is not square, it cannot be turned.

### See also
- [Flip proc (icon)](https://ref.dm-lang.org/icon/proc/Flip.md)
- [dir var (atom)](https://ref.dm-lang.org/atom/var/dir.md)
- [icon](https://ref.dm-lang.org/icon/index.md)
- [procs (icon)](https://ref.dm-lang.org/icon/proc/index.md)
