I have a GDScript class that is not associated with a node.
I placed it in a .gd file, and the file header is:
class_name Polygon
It generally works. I can reference the class in other scripts, and it functions correctly. But I often get the error message:
The class "Polygon" couldn't be fully loaded (script error or cyclic dependency).
The documentation refers to "script resources", but isn't clear on how to create one. Would that be the solution for removing the error?