@ustk said in Changing knob values with ScriptPanel position:
Because what you want to read instead of the event.x/y is the panel's global position
I understand. The result is almost the same with getGlobalPositionX and getGlobalPositionY of the panel, but values of the knobs remain fixed at 20 and 8.
HiseSnippet 1248.3ocuW07aaTDEeV6LkZCNzhPHAhCqxAjCJ0X6lVhDf5RbrasBIwsNjVfCgI6N1dT1clM6NNolnH93DG4ZukSbmibi+G3OA9GnG4F7lYW6csiyWVpc8EOuu1euOl26ssBD1zvPQ.xH21C7oHi2B2d.W1qVOBiiZtFxXd7FjPIMvLhzpC7IggTGjgQ1GpHXjaNj94kOXUhKgaSSHgP6HX1zuh4wjITaYsNy0sAwgtMyKkzKa0zVvqIbE8A7jEWF4Sr2mzktIQIVFLx3F0cXRQPaIQRCQFyspvYP6dhi3QxuCKjsmKUcnBpMXnHxMDtNJDqnhp0i45zZneGh.qzJIJjMJJ7t3MXNrQzShF2RyvLQizwCiLWD7pjFdku5vyHE7lKBd2F21Nf4KS3nv1ahaxgDUGBjBRCqHYQY9wr3ZBPBtrjGYeZi.3vHMJd+xkWx7dkKu3mUHeg7PhHTZdHIvbctXuJleg4PU6Rk0Dd9BNbn3BZtKnzYbMpdgZTcBMZQBfTrLfcP8GqdW5RPkd06zgZCJMl.mQYN087QXD6IzIN7cwZlVnEhBKQ+hHUJjJ2PzOjVi35tGToVrSetsjI3EoGBFXwiKj2L9Q+GVGyHNkbBHcUrSDP1iEVxgHIkdNfmMHf6GP3coEAH8PWwdD2VhPlx3Oy7SFC9JP+TlirWwEWxDRgUTH8rlcvkX1uYJl8QTV2dxoY2j+oK.TghcHt8oEqVFd93TdSZszo9DYW4NEWIknCVbRYqTxtmBsNEOqUR3nYbR9SFlgFlELE7MER5V7hKl+374xeRdyIY0oyT4oJGBDttzfoxV00J3hTrHuu2dzfkfRMvOGIHb8c79C3yu+P51W1QUmoDTvaxYxs7o7yqqAJtjF5ejIFUfnRc2i4i6dz1k4PCPLnIwaf0wajFvwcjO88+2+vBckUt5XJCOlVnut4ZPlU0CKFN.D8oARlx6MVidHLbHpiVN7Zzv8kBesrwWAASG8RKfSUZpemymlREzySdsen0fjCet0QpqFiH7xe1pmtndDkSO1Bt9JNZ3kX.Xe.tlKC92RlORbHL36iLWCtu1kw6BQgTfK2kFNSf0e8sof0oGMArN86mDVnlVdjD0+0+1xK8r1ks7IA.HRglIhHnqAPqlBn+TXJf9aSBTztWBPgrNrrfea1OLpL5Eu3Oev0AsENub9MwIYarw+.1df5OeG7mIPYyofxqQV1W322eK9STlPKjZJZOXJcyvwoosYRwgQlKyO8GdEsI3OuMdrwZv1N5STMyafaDPO.VV5LC+gUPDN8cIxw2KQsLVLCnYzXK.nFxyg17CRur1qjkUtpv813VLocuoi2LSAup9Xuhwa7peEvQKcj.14vMd1q487xOrqXs9AGRqefFGSVujFRa12qAyEpcTiULL.OaUB2o7v.3u+KumkhPkXBVuy5OUSn536uyct6jDVNgvsrZzX65bB3aQwgriGGxd0lmMkzvSD8kvUHXAk.l51M3NsguBvlBYANbyQ6UYTi0hNWVcVAo1TsWhM9O3IlYkgg.EyJCY9Z4c3QrCD6ZGMyTkTuolB32b82vjC9XJ3r4nIsXb4RkQdv2TrqsspT6NPswz0o5LnycmAcVdFz4dyfN2eFz4SmAcV4B0Q84beYeovKpMDPnUc8RKFFIU5YP+OvGqFwi
@ustk said in Changing knob values with ScriptPanel position:
I would have done it with paintRoutine in one unique panel instead.
@ulrik said in Changing knob values with ScriptPanel position:
you should set, with the paint routines, a dot or something, that will act as a visual reference for the dragging.
If I could do it with paint routines, I would. But I know only how to realise one single dot on a single panel. Any pointers?