Forum
    • Categories
    • Register
    • Login

    Does the .getComponentUnderDrag() work?

    Scheduled Pinned Locked Moved Bug Reports
    4 Posts 3 Posters 459 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

      You can listen to my orchestral mockups here:
      https://www.virtualvirgin.net/
      I have a Git repo here:
      https://github.com/craig-van-hise

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @VirtualVirgin
        last edited by

        @VirtualVirgin Got a snippet?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - 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")));
          
          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @aaronventure
            last edited by

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

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

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

            71

            Online

            2.1k

            Users

            13.0k

            Topics

            112.7k

            Posts