# Grease Pencil stroke disappears

Everytime I press D + LMB I see the pencil as cursor and the indication that I'm about to draw something, but every time I draw a line, the line disappears.

• You need to give a lot more information...for example, what pencil (I am guessing grease pencil). – JakeD Nov 18 '16 at 18:59
• Yes grease pencil. It was working until I switched to Object mode. – trafel Nov 18 '16 at 19:12
• You mean you were in Grease Pencil mode? – JakeD Nov 18 '16 at 21:53
• Are you using the RetopoFlow add-on by any chance? If so sometimes grease pencil won't work on an active object. You might have to export the object then reimport it. I was having the same issue and that was one fix. – Animatoring Jan 26 '17 at 18:29
• If your object is set to x-ray mode, the grease pencil marks will vanish. – Griffin Mar 25 '17 at 18:17

Check to make sure you don't have the [Grease Pencil layers] and [Grease Pencil Colors] set to invisible (eye icon). I spent an hour trying to figure out why, but forgot that I turned them off.

For the new players: N to open the right hand menu. Uncollapse the ▼ ☑Grease Pencil and ▼Grease Pencil Colors Look to make sure the eyes are visible for both layers. Also try creating a new Grease Pencil layer and seeing if that fixes any issues.

Double check the opacity of the active layer. If it's set to zero, the created stroke won't be shown after drawing, by it will be visible when drawing

I'm using a 3D mouse for zooming, so my grease pencil drawing planes are created in weird angles. As a quick fix, I set Scale Y to $$0$$.

When I then draw a stroke, it instantly shrinks to an invisible point at the drawing plane origin.

This does not happen, if I set Scale Y to $$0.001$$

Edit:

Just found a better way to fix the grease pencil drawing plane angle. Change the option at the top of the drawing window from View to Front (X-Z).

• Had this same issue and fixed by setting y-scale to non-zero. Is this a known bug? – Jehu Campos Nov 23 '20 at 22:35

Be sure that X-Ray mode is disabled on the object you are drawing on. Having it on will make the object's geometry draw on top of any grease pencil strokes you make on it.

I met the same problem today.Maybe you pressed H accidentally. Go to the edit Mode and then try press Alt+H see if it works.

Check to see that you didn't accidentally go to a new frame in the dope sheet.

This is a bug, and not fixed. Try installing the new version of blender. I have two different blenders installed on my pc, and one always has the bug while the other doesn't. So reinstalling or updating will fix the bug I guess.

Another possible cause is that Thickness Scale is near 0 for that layer.
Try to increase the value.