Scratch for Java

Window::whenExits()

This method is called when the window exits. Override this method to define custom behavior when the window is closed.

Examples

View on GitHub

Syntax

Java

.whenExits()

Return

void

whenExits()

Create Shareable URL

Select Sections