- Home /
 
 
               Question by 
               UnityAuthor20 · May 24, 2018 at 09:47 PM · 
                cursor  
              
 
              Set the cursor position
I'm trying to set the cursor position if a certain condition is true, but I can't figure out the method. Can someone show me the code to do this?
               Comment
              
 
               
              Answer by NightmarexGR · Jan 28 at 04:29 AM
You can use a paid asset from the asset store like this one: https://assetstore.unity.com/packages/tools/input-management/set-cursor-position-mouse-clicks-api-17177?aid=1101liJWIxCr But it only works for windows so far.
Your answer