Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Cursor position

Discussion in 'Scripting' started by JimWebs, Oct 6, 2023 at 5:01 AM.

  1. JimWebs

    JimWebs

    Joined:
    Aug 2, 2023
    Posts:
    30
    Can't find the answer to this anywhere on google - Is there a way to place cursor behind or in front of objects? I'm trying to find a way to position the mouse cursor behind something, like a semi-transparent object for example (temporarily). I don't just want to hide it but place it behind a layer or panel or image, if you see what I mean.
     
  2. zulo3d

    zulo3d

    Joined:
    Feb 18, 2023
    Posts:
    421
    Hide the cursor and put your own fancy cursor in its place.
     
    spiney199 likes this.
  3. JimWebs

    JimWebs

    Joined:
    Aug 2, 2023
    Posts:
    30
    Thanks. I was hoping there was a way to change the z of the cursor though.
     
  4. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    5,638
    Your computer cursor is an operating software thing that lives on top of everything else in your screen.

    If you want a fancy one with special before, like Zulo said, gotta hide it and manage your own one.