# How to rotate the buttons in Processing

**URL:** https://discourse.processing.org/t/how-to-rotate-the-buttons-in-processing/32228
**Category:** Libraries
**Created:** [September 13, 2021, 12:56pm UTC](https://discourse.processing.org/t/how-to-rotate-the-buttons-in-processing/32228 "2021-09-13T12:56:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![rapatski](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/rapatski/32/5164_2.png) [@rapatski](https://discourse.processing.org/u/rapatski)
#### Post date: [September 14, 2021, 9:03am UTC](https://discourse.processing.org/t/how-to-rotate-the-buttons-in-processing/32228/2 "2021-09-14T09:03:28Z")

</div>

Did you see this? The trick seems to be to disable autoDraw and manually draw the buttons in your own draw loop, rather than settings its position when you create the Controller:

> [@Does anyone know how to rotate 90º a Textfield in ControlP5?](https://discourse.processing.org/t/does-anyone-know-how-to-rotate-90-a-textfield-in-controlp5/26962/6):
>
> I’ve got a almost complete gui sketch you can make use of if you want, it’s large though you could add a method or a class initializer to do the rotation. It isn’t as fully featured as g4p or control p5 and currently is pc only, but it includes menus tabs windows sliders and buttons.

---

_[View the full topic](https://discourse.processing.org/t/how-to-rotate-the-buttons-in-processing/32228)._
