HISE Logo Forum
    • Categories
    • Register
    • Login

    Set Value on Click Property?

    Scheduled Pinned Locked Moved Solved Scripting
    7 Posts 3 Posters 84 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ChazroxC
      Chazrox
      last edited by

      What does this do?

      Screenshot 2025-09-03 at 9.47.41 PM.png

      d.healeyD 1 Reply Last reply Reply Quote 0
      • M
        MidiMinion
        last edited by

        By default, a button changes its value/state and the callback is triggered when you release the mouse button.
        If you activate this, the value/state of the button changes immediately when you click the mouse button. This feels more snappy.

        ChazroxC 1 Reply Last reply Reply Quote 0
        • ChazroxC
          Chazrox @MidiMinion
          last edited by

          @MidiMinion aahhh...makes sense. If you script the button yourself, does that have the same effect as 'if (value)' check in a button callback?

          1 Reply Last reply Reply Quote 0
          • M
            MidiMinion
            last edited by

            No, that determines whether the callback is executed on mouse down or mouse up. Regardless of a script being attached to it.

            1 Reply Last reply Reply Quote 0
            • ChazroxC Chazrox has marked this topic as solved
            • d.healeyD
              d.healey @Chazrox
              last edited by

              @Chazrox Where do you see this option?

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              ChazroxC 1 Reply Last reply Reply Quote 0
              • ChazroxC
                Chazrox @d.healey
                last edited by

                @d-healey button's property editor all the way down.

                d.healeyD 1 Reply Last reply Reply Quote 1
                • d.healeyD
                  d.healey @Chazrox
                  last edited by d.healey

                  @Chazrox Oh yeah I see it, I was just being blind.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  34

                  Online

                  1.9k

                  Users

                  12.4k

                  Topics

                  108.2k

                  Posts