Const topCanvas = document.CreateElement("canvas"); Document.Body.AppendChild(topCanvas); But the canvas is always positioned on the window and I can't find a w...
How do I make a gradient through a script? I know that this can be done through events, but I need through a scripting.
If you want to use Construct 3 Layouts to display something using Javascript you can create Canvas. See how in the attached File. All My Tutorials bellow.