height
A Number variable that stores the height of the canvas in pixels.
height's default value is 600. Calling size() or
resizeWindow() changes the value of height.
Examples

function setup()
background(200)
-- Display the canvas' height.
text(height, 42, 54)
describe('The number 100 written on a gray square.')
end
Syntax
height
Related
This reference page contains content adapted from p5.js and Processing by p5.js Contributors and Processing Foundation, licensed under CC BY-NC-SA 4.0.