Visual bug on shotgun tip — not sure how to fix it

Godot Version

4.6.1

Question

Hi everyone, good day. I’m fairly new to the engine and I can’t figure out what’s causing this line that appears at the tip of my shotgun sprite. I already checked if I accidentally left an extra piece when cropping the sprite, but that doesn’t seem to be the issue.

The strange thing is that when I maximize and minimize the window, the line appears and disappears. Does anyone know what might be causing this or how I could fix it?

1 Like

The fact that it appears when the screen is smaller tells me that it may be something to do with the screen rendering/resolution settings, or the import settings of the sprite. without the actual code for the object, it can be a bit difficult to pinpoint the actual issue…