Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Alpa Hit Minimum Threshold not working

Discussion in '2D' started by Gitoss123, Nov 14, 2023.

  1. Gitoss123


    Dec 30, 2021
    Hello, I'm working on a strategy game and I encountered a problem, I'm using alpha hit minimum threshold which doesn't work. The main thing is that despite good settings (full rect, read/write), it ignores not only the transparency but also a large part of the sprite, you can only click in the very center, but if the sprite is very small, the click does not work at all, can anyone help me? help?
  2. Kurt-Dekker


    Mar 16, 2013
    Not sure what an "alpha hit minimum threshold" is or what API you're even talking about.

    Perhaps if you use this guideline someone here can help.

    How to report your problem productively in the Unity3D forums:

    This is the bare minimum of information to report:

    - what you want
    - what you tried
    - what you expected to happen
    - what actually happened, log output, variable values, and especially any errors you see
    - links to documentation you used to cross-check your work (CRITICAL!!!)

    The purpose of YOU providing links is to make our job easier, while simultaneously showing us that you actually put effort into the process. If you haven't put effort into finding the documentation, why should we bother putting effort into replying?

    If you post a code snippet, ALWAYS USE CODE TAGS:

    How to use code tags:

    - Do not TALK about code without posting it.
    - Do NOT post unformatted code.
    - Do NOT retype code. Use copy/paste properly using code tags.
    - Do NOT post screenshots of code.
    - Do NOT post photographs of code.
    - Do NOT attach entire scripts to your post.
    - ONLY post the relevant code, and then refer to it in your discussion.
  3. MelvMay


    Unity Technologies

    May 24, 2013
    I don’t understand either and how it’s related to 2D physics.

    Maybe it related to the UI raycasters?? If so, that’s nothing to do with 2D.
    Kurt-Dekker likes this.