Chekc if element colides with oter element
Methods
-
colidesWith(element)
-
Chekc if element colides with oter element
Parameters:
Name Type Description elementHTMLElement element to check Returns:
- Type
- boolean
| Name | Type | Description |
|---|---|---|
element |
HTMLElement | element to check |