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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

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:
    9
    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