Show me what you’ve got:
function initialize() {
var board = createCanvas(960,540);
board.parent("drawingPad");
background('white');
var textbox = createInput();
textbox.position(10,10);
textbox.parent("drawingPad");
}
I’ve created a div called "drawingPad" aligned using css. Despite attempting to set the input position relative to the canvas, it’s actually appearing on the webpage outside of the canvas. Any ideas on how to fix this?