mouseX

概要

p5.jsリファレンス(参考情報)

[p5.js] mouseX

サンプル

def draw
  background(244, 248, 252)
  line(mouseX, 0, mouseX, 100)
end

構文

戻値