Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question OnDrag/input.MousePosition don't register changes per pixel

Discussion in 'UGUI & TextMesh Pro' started by dynamicvoltagegames, Feb 16, 2023.

  1. dynamicvoltagegames

    dynamicvoltagegames

    Joined:
    Apr 15, 2019
    Posts:
    14
    In my screen space camera, when I check either OnDrag position or MousePosition, it skips pixels, but ONLY in an Android build. It works fine in editor. I have to drag my finger across several pixels before it gets the new position for either (and they have the same X/Y values). I haven't had this issue with other projects, so I'm not sure what setting I have that's a problem here.
     
    Last edited: Feb 16, 2023
  2. SF_FrankvHoof

    SF_FrankvHoof

    Joined:
    Apr 1, 2022
    Posts:
    780