Scratch for Java

Stage::setCursor()

Sets the cursor image for the stage.

Syntax

Java

.setCursor(path)
.setCursor(path, x, y)

Parameters

Name Data Type Description
path String the file path to the cursor image
x int the x-coordinate of the cursor's active spot
y int the y-coordinate of the cursor's active spot

Return

void

setCursor()