संदर्भ draggable()

draggable()

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.

उदाहरण

सिंटैक्स

draggable([elmnt])

पैरामीटर्स

elmnt
p5.Element: another p5.Element.

संबंधित संदर्भ