Scratch for Java

Widget::focus()

Gives this widget the focus, e.g. the first button of a menu when it opens.

Examples

View on GitHub

Syntax

Java

.focus()

Return

void

focus()

Create Shareable URL

Select Sections