# How can you move tabs?

**URL:** <https://discourse.processing.org/t/how-can-you-move-tabs/40520>\
**Category:** Libraries\
**Created:** [January 9, 2023, 10:56am UTC](https://discourse.processing.org/t/how-can-you-move-tabs/40520 "2023-01-09T10:56:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mnse](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mnse/32/16520_2.png) [@mnse](https://discourse.processing.org/u/mnse)\
**Post date:** [January 9, 2023, 2:52pm UTC](https://discourse.processing.org/t/how-can-you-move-tabs/40520/5 "2023-01-09T14:52:12Z")

</div>

Hi @Vadimkuzmin,

You can only move the whole tab group (ControlWindow) to a different position.  
you can test by adding ie.

```auto
void mousePressed() {
  if (mouseButton == RIGHT)
    cp5.getTab("default").getWindow().setPositionOfTabs(mouseX,mouseY);
}

```

the above moves the (invisible) ControlWindow upper/left for the Tabs to mouseX/mouseY on pressing right mouse button.

Cheers  
— mnse

---

_[View the full topic](https://discourse.processing.org/t/how-can-you-move-tabs/40520)._
