How does one makes a knob to drag the mouse? | Intech Studio
💬 general Grid

How does one makes a knob to drag the mouse?

Demetrisag
Demetrisag · · 17 replies

I don't mean to just move it. this is easy I did it. I want to make it move while holding click

Replies (17)

Demetrisag Demetrisag ·

I did try to put a another block after it with mouse click on pressed but its behaving very weirdly

Greg-Orca Greg-Orca ·

Hi! Could you clarify what exactly you’d like to achieve? Are you thinking of using the encoder for a drag-and-drop function? For example:

  • Turning the encoder moving the mouse
  • Pushing the encoder to drag and then releasing it to drop.
Demetrisag Demetrisag ·

not exactly. I want to turn the encoder to move the mouse and while its moving I also want the left click on hold. of course when I finish my drag it should unclick on its own.

Demetrisag Demetrisag ·

all this in one step. I dont want to push first the knob to make the click, I want it to be automaticly clicked once I turn the knob!

Demetrisag Demetrisag ·

Loupedeck CT can also do this and it name it drag. there is a mouse move and a mouse drag. mouse move is a simple move and mouse drag is a move with click. like when you drag your mouse to choose many files! Hope thats clear!

kkerti kkerti ·

Can you try the mouse takeover VST controller preset?

Demetrisag Demetrisag ·

What is that? And how I do this?

kkerti kkerti ·
image.png
kkerti kkerti ·

It's a preset in the profile cloud for encoders / endless control element.

Demetrisag Demetrisag ·

wow! thats actually really good! mindblowingly good actually! Is there a way now to make another one that moves on X axis? I mean what do I change? not very good with scripting yet

Demetrisag Demetrisag ·

and also its going the opposite way now on Y axis

kkerti kkerti ·

axis should be 1 or 2, but not sure which one for X

Demetrisag Demetrisag ·

ok I discovered the axis thing, Now I want to make it left when I rotate left cause as of now its going right

kkerti kkerti ·

let me check

kkerti kkerti ·
image.png
kkerti kkerti ·

open the code block on the encoder and compare this image with the code you have there. Delete the -1 *  from the if statement path and add the * -1 to the else path.

Demetrisag Demetrisag ·

You are what legends speak off!! Thank you soo sooo much!

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →