# Juce Slider right mouse click

**URL:** <https://forum.juce.com/t/juce-slider-right-mouse-click/50103>\
**Category:** Audio Plugins\
**Created:** [February 9, 2022, 3:49pm UTC](https://forum.juce.com/t/juce-slider-right-mouse-click/50103 "2022-02-09T15:49:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![2rule](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/2rule/32/7540_2.png) [@2rule](https://forum.juce.com/u/2rule)\
**Post date:** [February 9, 2022, 3:49pm UTC](https://forum.juce.com/t/juce-slider-right-mouse-click/50103/1 "2022-02-09T15:49:05Z")

</div>

Hi,  
I want to use right button mouse for slider knobs same as left buttun button. But because of control  
“if(isRightButtonDown) return” code the value of the parameters is not updated. I want to comment out this control in order to meet my needs. Is there any other way besides this?

the need : I have a paint window, By pressing right mouse I want to change some parameters by calling slider set value.

Thanks in advance  
Tuğrul

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [February 9, 2022, 4:06pm UTC](https://forum.juce.com/t/juce-slider-right-mouse-click/50103/2 "2022-02-09T16:06:05Z")

</div>

Just adding another meta post without a result about that:

> [@Moving Slider with right mouse button does not notify](https://forum.juce.com/t/moving-slider-with-right-mouse-button-does-not-notify/27480):
>
> I’m using JUCE 5.3.0. It’s possible to move a JUCE Slider with the right mouse button but the attachment does not send any notifications. I’m not sure if this is a problem in my code. Any help is welcome.
