HISE Logo Forum
    • Categories
    • Register
    • Login

    Does the .getComponentUnderDrag() work?

    Scheduled Pinned Locked Moved Bug Reports
    4 Posts 3 Posters 63 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.
    • VirtualVirginV
      VirtualVirgin
      last edited by

      Not getting any return from this:
      Screenshot 2025-02-02 at 3.57.16 PM.png

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

        @VirtualVirgin Got a snippet?

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

        1 Reply Last reply Reply Quote 0
        • A
          aaronventure
          last edited by

          It's getting a component reference, not the id, no? You should check

          Console.print(trace(Content.getComponentUnderDrag().get("id")));
          
          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @aaronventure
            last edited by

            @aaronventure According to the docs it returns the ID (string)

            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

            20

            Online

            1.7k

            Users

            11.8k

            Topics

            102.7k

            Posts