Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question How to check if click on valid pixels of Text Component?

Discussion in 'UGUI & TextMesh Pro' started by Alobal17, Sep 21, 2023.

  1. Alobal17

    Alobal17

    Joined:
    Aug 2, 2019
    Posts:
    10
    Hi~There is a gameplay question.

    As the figure below, how can I detect whether click on valid pixels of Text component?

    upload_2023-9-21_19-41-7.png