Posted October 27, 2025 by Kingpin RBD
v2.0.2
- Fixed issues with drag & drop using custom dropzones.
- Updated the instructions section to clarify how to properly create custom dropzones post update.
- Added new & modified existing plugin options. Additions include the options to disable default dropzone creation, specify whether objects should auto-snap to the center of multi-tile/large dropzones, enable/disable event dragging, & make events hidden from hover detection.
- Added a new helper function to dropzones "myDropzone.isOccupiedAt(x, y)". This function checks whether an object is occupying specific coordinates within a dropzone. When auto-snap is disabled, this will let objects land on any unoccupied tile within a multi-tile/large dropzone. If enabled, landing anywhere within a multi-tile/large dropzone would snap the object to it's center.
Note: Auto-snap is disabled internally for custom dropzones without valid center coordinates; e.g., 2x2, 2x3, 4x4, 8x4, ect. Dropzone dimensions with valid centers include: 1x1, 1x3, 3x3, 3x5, 5x5, ect.