- Home /
Question by
cookiepuss · Sep 03, 2012 at 07:31 AM ·
guicursor
Custom cursor that is not the mouse.
is there a way to have a custom cursor with limited movement? I'd like to have a cursor to only be able to move to certain parts of my GUI menu. I'd also like it to have similar functions of the mouse, with highlighting certain areas of the GUI. if my GUI had this:
potions <-
equipment
spells
I'd like the cursor to only be able to move to each of these three positions, and have something happen when a button is pressed.
Comment
Answer by lvictorino · Sep 03, 2012 at 07:46 AM
Have you look right here ?
Changing cursor position will allow you to move cursor only to positions you want. If the player tries to move it elsewhere you will then be able to warp it back where it belongs.
Your answer
![](https://koobas.hobune.stream/wayback/20220613080543im_/https://answers.unity.com/themes/thub/images/avi.jpg)