Scratch for Java

Shaders::switchTo()

Examples

View on GitHub

Syntax

Java

.switchTo(name)
.switchTo(index)

Parameters

Name Data Type Description
name String the shader to use, alone
index double the shader to use alone, counting from 0; wraps around

Return

void

switchTo()

Create Shareable URL

Select Sections