Vertical scrollbar - incorrect mouse position

Ok, I spent several minutes wandering why I cannot use the handle to scroll properly (same issue has Sam in the video). However, I found that the problem is not in the UI, but instead in the custom mouse cursor hotspot position.

I’ll leave the fix here for anyone else wondering the same:
Just change the UI cursor mapping hotspot in the Player prefab (in Core) under the Player Controller script Cursor Mappings. For the Element of type UI set the hotspot values to something like x:12, y: 6 and you should be good to go!

I hope I fixed it right and hopefully this helps anyone. :slight_smile:

Yes, at some point in the course codebase, the cursor hotspots got reset. Good catch for the fix!

Privacy & Terms