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 do I get the color of a clicked button?

Discussion in 'Immediate Mode GUI (IMGUI)' started by Rowlan, Oct 3, 2022.

  1. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    3,856
    I'd like to keep a button visually pressed. How do I get the color?

    To be precise this blue in dark mode:

    bt.jpg