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.

Resolved [Event System] Prevent Raycast through UI

Discussion in 'Visual Scripting' started by SPNK78, Mar 24, 2021.

  1. SPNK78

    SPNK78

    Joined:
    Mar 8, 2021
    Posts:
    13
    Hello,

    I tried to find or create in BOLT the way to use event system / IsPointerOverGameObject, in order to prevent physics/raycast to pass through UI buttons.

    It seems to be easy with coding in a C# script, but someone knows how to do it with Bolt?

    Thanks
     
  2. SPNK78

    SPNK78

    Joined:
    Mar 8, 2021
    Posts:
    13
    Hello, I have finally succeded to do it. You can ignore this

    Thanks
     
  3. Maphos0024

    Maphos0024

    Joined:
    Feb 13, 2021
    Posts:
    5
    Can you share your solution? I have been trying to solve this for months. Tutorials on the net are old and doesnt work.
     
  4. SPNK78

    SPNK78

    Joined:
    Mar 8, 2021
    Posts:
    13
    upload_2021-11-8_9-15-21.png

    I dont use Bolt anymore, but if you still need, simply something like that if I correctly remember.