Pen::setPosition()
Sets position of the pen. When you are using the pen you got from a sprite by calling getPen, you do not need to set the position manually. The pen will follow the sprite.
Examples

Syntax
Java
.setPosition(x, y)
Scratch
set position to x () y () :: pen
Parameters
Name | Data Type | Description |
---|---|---|
x | float | X coordinate |
y | float | Y coordinate |
Return
void