Element.collide 0.5

Check if two elements are colliding.



Details

Author
jnbdz
Current version
0.5
GitHub
jnbdz/elCollide
Downloads
4669
Category
Utilities
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.4: '*'

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);

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus