Pen(ペン)
Pen.penDown ( ペンを下げる )
typescript
import { Typescratcher as Ts } from "@tscratch3/typescratcher";
import type { Sprite } from "@tscratch3/typescratcher";
const cat = new Ts.Sprite( 'cat' );
const thread = async function* ( this : Sprite ) {
this.Pen.penDown();
}Pen.penUp ( ペンを上げる )
typescript
import { Typescratcher as Ts } from "@tscratch3/typescratcher";
import type { Sprite } from "@tscratch3/typescratcher";
const cat = new Ts.Sprite( 'cat' );
const thread = async function* ( this : Sprite ) {
this.Pen.penUp();
}