Scratch for Java

Sprite::pointTowards()

Points towards a position.

Syntax

Java

.pointTowards(position)
.pointTowards(sprite)

Parameters

Name Data Type Description
position Vector2 where to point
sprite Sprite the sprite to point at

Return

void

pointTowards()

Create Shareable URL

Select Sections