function
cancelEvent (shared-side)
Available since version: 0.0.1
Note
Use this function inside a handler/function bound to event.
This function will cancel event.
Cancelling G2O event can cause something will not occur (like game inventory won't open), you can also program your own custom logic using event cancellation.
Declaration
void cancelEvent()
Parameters
No parameters.