Scratch for Java

Sprite::lerp()

Calculates a number between the start and the stop by using the given amount.

Examples

File /examples/reference/OperatorsLerp.java is missing.

View on GitHub

Syntax

Java

.lerp(start, stop, amount)

Scratch

lerp (start) (stop) (amount)

Parameters

Name Data Type Description
amount float Changes the tint by the amount.

Return

void

lerp()