pub static getURL: GetUrlInternalTypeExpand 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--;
}pub static getURL: GetUrlInternalTypeGets the current URL.
let url;
let x = 100;
function setup() {
fill(0);
noStroke();
url = getURL();
}
function draw() {
background(200);
text(url, x, height / 2);
x--;
}