Simple mouse drag...

New to the new input system and have look in forum for answer, and found nothing :(.

Is there a way to create an action that only work if you have left mouse button pressed and moving the mouse?

THank

see this and let’s see what Unity guys have to say about it:

1 Like

I couldn’t understand how to use this. Can you provide a tutorial for begginers?

You should rather ask in same thread for more audience and, sorry, but it’s been so long that I forgot and don’t use it anymore :slight_smile:

This is easy to do nowadays. Just add a Vector2 action, add binding with one modifier and configure like this:
7889233--1004056--upload_2022-2-11_18-7-49.png

2 Likes