# Help Mapping Loops Correctly

**URL:** <https://forum.djtechtools.com/t/help-mapping-loops-correctly/73558>\
**Category:** Controller Mappings\
**Created:** [February 25, 2016, 10:36pm UTC](https://forum.djtechtools.com/t/help-mapping-loops-correctly/73558 "2016-02-25T22:36:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominatore22](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dominatore22](https://forum.djtechtools.com/u/dominatore22)\
**Post date:** [February 25, 2016, 10:36pm UTC](https://forum.djtechtools.com/t/help-mapping-loops-correctly/73558/1 "2016-02-25T22:36:29Z")

</div>

**Help Mapping Loops Correctly**

Hello guys, i’ve remapped the loops on my cdj 850 from “select size + set” command to “select loop size” and “loop set” commands for every loop, for making flux mode work (wich i mapped on reverse button).  
All seems to work ok but i have a problem: when i set a loop by pressing for example the 2 beats loop button on one cdj, it sets the loop and active it correctly, but when i have for example the 2 bar loop active, and i want to change it from 2 to 4 bar, and so i press the 4 bar loop button over the active 2 bar loop, it changes the size of the loop on 4 bars but Deactivates the loop.. And that is really bad and can cause problems during a mix, so now how can i make the “loop set” function active only when there is no loop set already?, because i want to press for example the 4 bar loop button when i am already inside of a 2 bar loop, and make it change from 2 to 4 bars without deactivating the loop, wich i think is normal to find on other mappings.  
Sorry all for my bad english. ^^  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Stewe](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/stewe/32/14607_2.png) [@Stewe](https://forum.djtechtools.com/u/Stewe)\
**Post date:** [February 26, 2016, 1:20pm UTC](https://forum.djtechtools.com/t/help-mapping-loops-correctly/73558/2 "2016-02-26T13:20:24Z")

</div>

Something like this should do the trick!

Button 1:

Modifier 1 / inc  
Modifier 1 / dec / invert  
Loop set (M1=0)  
Loop Set (M1=1) / invert

Button 2:

Modifier 1 / inc  
Modifier 1 / dec / invert  
Loop set (M1=0)  
Loop Set (M1=1) / invert

---

<div class="post-metadata">

**Author:** ![dominatore22](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dominatore22](https://forum.djtechtools.com/u/dominatore22)\
**Post date:** [February 26, 2016, 3:53pm UTC](https://forum.djtechtools.com/t/help-mapping-loops-correctly/73558/3 "2016-02-26T15:53:06Z")

</div>

> [@Stewe](#):
>
> Something like this should do the trick!
> 
> Button 1:
> 
> Modifier 1 / inc  
> Modifier 1 / dec / invert  
> Loop set (M1=0)  
> Loop Set (M1=1) / invert
> 
> Button 2:
> 
> Modifier 1 / inc  
> Modifier 1 / dec / invert  
> Loop set (M1=0)  
> Loop Set (M1=1) / invert

I don’t understand where i must map button1 and button2 D: Can you please help me if i share the mapping here and you edit it? because it already has a lot of modifier and i’m a noob in mapping..  
Here is my mapping link: [DJ TechTools - Cdj 850 Skyline's Mapping](https://maps.djtechtools.com/mappings/5552)  
Edit: it did what you said but nothing happens when i press button 1 or 2, it sets no loop..

---

<div class="post-metadata">

**Author:** ![Stewe](https://sea1.discourse-cdn.com/flex001/user_avatar/forum.djtechtools.com/stewe/32/14607_2.png) [@Stewe](https://forum.djtechtools.com/u/Stewe)\
**Post date:** [February 26, 2016, 7:39pm UTC](https://forum.djtechtools.com/t/help-mapping-loops-correctly/73558/4 "2016-02-26T19:39:39Z")

</div>

I checked your mapping real quick and it looks like you’re missing the invert option on the loop set command. In particular those with M=1 conditions. Sadly I don’t have those CDJ’s to give you better support 😞
