-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
This would be a cool feature because most of the js physics libraries have it.
Maybe we could have a special prop, e.g. dnd={true} for both World in case we want to make every element draggable, and for Item, if we only want item to be dragged.
Example proposal:
<World gravity={[0, 9.8]} dnd>
<Item dnd />
</World>I made a fork and I'll try to implement this feature using ClientX and ClientY and then submit a PR
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels