https://github.com/jnbdz/elcollide
Check if two elements are colliding.
https://github.com/jnbdz/elcollide
Last synced: 8 months ago
JSON representation
Check if two elements are colliding.
- Host: GitHub
- URL: https://github.com/jnbdz/elcollide
- Owner: jnbdz
- Created: 2012-04-17T20:01:34.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-22T05:42:52.000Z (over 13 years ago)
- Last Synced: 2025-01-10T21:15:40.328Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 120 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Element.collide
===========Check if two elements are colliding.

How to use
----------The code is self explanatory. It will return true if the elements collide or false if the elements don't collide.
firstElement.elCollide(secondElement);