getURL

Static getURL 

Source
pub static getURL: GetUrlInternalType
Expand description

Gets the current URL.

Examples

let url;
let x = 100;

function setup() {
  fill(0);
  noStroke();
  url = getURL();
}

function draw() {
  background(200);
  text(url, x, height / 2);
  x--;
}