# Need help with slider

**URL:** <https://discourse.processing.org/t/need-help-with-slider/28512>\
**Category:** Coding Questions\
**Created:** [March 13, 2021, 9:19pm UTC](https://discourse.processing.org/t/need-help-with-slider/28512 "2021-03-13T21:19:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [March 14, 2021, 6:25pm UTC](https://discourse.processing.org/t/need-help-with-slider/28512/3 "2021-03-14T18:25:29Z")

</div>

> [@Slider and box rotation](https://discourse.processing.org/t/slider-and-box-rotation/28071):
>
> import controlP5.\*; ControlP5 cp5; Slider boxSize; Slider2D rotate; ColorWheel col; Toggle start; void setup() { size(800, 600, P3D); cp5 = new ControlP5(this); boxSize = cp5.addSlider("BOX SIZE") .setPosition(20, 20) .setRange(0, 400) .setValue(200); rotate = cp5.addSlider2D("ROTATION") .setPosition(20, 40) .setSize(100, 100) .setMinMax(1.0, 1.0, 10.0, 10.0) .setValue(2.0, 2.0); start = cp5.addToggle("START/STOP") .setPosition(20, …

---

_[View the full topic](https://discourse.processing.org/t/need-help-with-slider/28512)._
