# EventJS

<p class="callout info">This event is the most basic event class, parent of all other events.</p>

##### Parent class

[Object](https://mods.latvian.dev/books/kubejs/page/object)

##### Can be cancelled

No

#### Variables and Functions

<table border="1" id="bkmrk-name-return-type-inf" style="border-collapse: collapse; width: 100%; height: 74px;"><thead><tr style="height: 29px;"><td style="width: 33.3333%; height: 29px;">Name</td><td style="width: 33.3333%; height: 29px;">Return Type</td><td style="width: 33.3333%; height: 29px;">Info</td></tr></thead><tbody><tr style="height: 45px;"><td style="width: 33.3333%; height: 45px;">cancel()</td><td style="width: 33.3333%; height: 45px;">[void](https://mods.latvian.dev/books/kubejs/page/primitive-types)</td><td style="width: 33.3333%; height: 45px;"><span style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Roboto, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;">Cancels event. If the event can't be cancelled, it won't do anything.</span></td></tr></tbody></table>