Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これは jsfiddleで、マウスのドラッグ イベントで移動する必要がある形状を持っています。javascript コンソールで shape.move() が適切な値で呼び出されていることがわかりますが、形状は動きません。
形が動かないのはなぜ?
が呼び出された後stage.draw()、形状が移動します。
stage.draw()