Search Unity

Mouse position on mouse click

Discussion in 'Input System' started by Snaipuha, Jun 22, 2021.

  1. Snaipuha

    Snaipuha

    Joined:
    Jul 4, 2017
    Posts:
    6
    How would I get the mouse position when the mouse is pressed and then released with the new Input System? I know how to do this with the old input system, but can't seem to get it right with the new system. I need to create mouse dragging when the player holds the left mouse button.