Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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:
    24
    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