Skip to content

Pen(ペン)

Pen.penClear ( ペン描画をクリアする )


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.penClear();
}