Question by
lennikauppi · Sep 09, 2020 at 07:41 AM ·
eventsystem
Why isn't my EventSystem Pointer Position updating?
I cannot use the OnPointerEnter() function because the EventSystem isn't updating my mouse position. It updated fine when i created a completely new scene. EventSystem objects are identical on both scenes. Any ideas how i could fix this cause i have no clue.
sieppavfca.png
(79.2 kB)
Comment
Best Answer
Answer by lennikauppi · Sep 09, 2020 at 08:03 AM
Nevermind i found the answer... Turns out one of my scripts had this line which locked my cursor to place
void Start(){
Cursor.lockState = CursorLockMode.Locked;
}
Your answer
![](https://koobas.hobune.stream/wayback/20220613011518im_/https://answers.unity.com/themes/thub/images/avi.jpg)