# Has the Web-Editor a bug when using line in WEBGL renderer?

**URL:** https://discourse.processing.org/t/has-the-web-editor-a-bug-when-using-line-in-webgl-renderer/24539
**Category:** p5.js
**Created:** [October 12, 2020, 12:51pm UTC](https://discourse.processing.org/t/has-the-web-editor-a-bug-when-using-line-in-webgl-renderer/24539 "2020-10-12T12:51:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [October 12, 2020, 12:51pm UTC](https://discourse.processing.org/t/has-the-web-editor-a-bug-when-using-line-in-webgl-renderer/24539/1 "2020-10-12T12:51:19Z")

</div>

This code does not draw a line in the P5.js Web-Editor but draws in OpenProcessing and Processing IDE. Should it be reported?

```auto
 function setup() {
  createCanvas(windowWidth, windowHeight, WEBGL);
  stroke(255);
}

function draw() {
  background(0);
  line(mouseX-width/2, mouseY-height/2, 0, 0, 0, 0);
}

```

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [October 12, 2020, 9:51pm UTC](https://discourse.processing.org/t/has-the-web-editor-a-bug-when-using-line-in-webgl-renderer/24539/2 "2020-10-12T21:51:53Z")

</div>

Now it runs again. This happened before with other issues.  
Has anyone else noticed temporary bugs in the Web-Editor?

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [October 19, 2020, 4:36am UTC](https://discourse.processing.org/t/has-the-web-editor-a-bug-when-using-line-in-webgl-renderer/24539/3 "2020-10-19T04:36:50Z")

</div>

I found out that this happens when you have the accessibility features turned on in settings (the cog icon)!
