@ulrik Ok, I found a glitch
When shift + click I should receive a value saying which area/slice, the marker is closest to, the value is based on the radius and the angle, from which it then calculates the length between each slice and the marker, then it compares the 5 lengths and decide which is the shortest (this are quiet heavy calculations, maybe that's why the glitch?)
I used Console.print and found that 95% of the clicks I got the right value but 5% I got nothing.
So there's something fishy happening in my code.
If anyone is reading the code, look for the line
//Console.print("area:"+area+" slice:"+slice);
it's around line 220