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

Resolved UI Toolkit Mouse Events don't seem to be working.

Discussion in 'UI Toolkit' started by crazyjackel, Nov 22, 2021.

  1. crazyjackel

    crazyjackel

    Joined:
    Oct 10, 2018
    Posts:
    18
    I have some buttons and Text fields in the UI I created and I am trying to interact with them and they don't seem to work. I am using the both the new input system and the old one (I marked it as both, I would be using only the new Input System, but the UI Toolkit gives errors when not using Both). I am using the Input System UI Input Module with Default Input Actions.

    I debug checked using Visual Studio the state of the Clickable and active is false, but I am unsure if that should have an effect or how to get active to be true.

    If you need more info to help, I will try to get back to you in a timely manner.
     
  2. crazyjackel

    crazyjackel

    Joined:
    Oct 10, 2018
    Posts:
    18
    Update, I figured it out. I had an absolute visual element fully infront of another visual element that was blocking Mouse Events.