Makes the element draggable.
The parameter, elmnt, is optional. If another p5.Element object is passed, as in myElement.draggable(otherElement), the other element will become draggable.
Examples
Syntax
draggable([elmnt])
Parameters
elmnt
p5.Element:
another p5.Element.
This page is generated from the comments in src/dom/dom.js . Please feel free to edit it and submit a pull request!