- Home /
UI Button Doesn't Seems to be Interact with Custom Cursor Image
Hello all,
I've changed my cursor icon by displaying a sprite with the same position as of the mouse position. When UI menu pops up, this cursor behavior doesn't seem to interact with any of the UI element on the screen.
I've followed many solutions available online but I've not able to solve it yet. Following are the inspect property of few of UI elements.
Would really appreciate any help. I'm running on a deadline and this issue is stressing me out. Thank you.
.
Answer by AliSOft · Nov 07, 2018 at 08:36 AM
Hey, I've just fixed the issue by unchecking the Raycast Target checkbox on the image component of the custom cursor sprite. Everything works fine now :)
This is exactly what my issue was. Thanks for the quick answer to my issue!
Your answer
![](https://koobas.hobune.stream/wayback/20220612181651im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
My function is called twice on single click 2 Answers
Mouse Button vs Get Button 1 Answer
Only want to detect button click event 1 Answer