Interaction with dragged object #1254
Answered
by
BctfN0HUK7Yg
BctfN0HUK7Yg
asked this question in
Q&A
-
I want to make my widget react to an object being dragged over it. To do this, I need to get not only the fact of dragging, but also the ID of the object. There's memory().interaction, but it's private, and it doesn't really have the Id I need. Where can the custom ID of the dragged object be stored in memory? And why click_id and drag_id appear in memory().interaction simultaneously and with the same values? |
Beta Was this translation helpful? Give feedback.
Answered by
BctfN0HUK7Yg
Feb 17, 2022
Replies: 1 comment
-
I found solution.
In my target widget:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BctfN0HUK7Yg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found solution.
In my source widget:
In my target widget: