Display Events
In addition to mouse and keyboard events, Display objects also have an onClose() event handling function.
| Function | Description |
|---|---|
onClose(action) |
Register a function to call right before the display closes. |
In addition to mouse and keyboard events, Display objects also have an onClose() event handling function.
| Function | Description |
|---|---|
onClose(action) |
Register a function to call right before the display closes. |