SOLVED - Godot is missing documentation in @GlobalScope

This is a solved issue, don’t waste your time reading unless you really want to.

In Godot 4.4.1.stable, using the get_property_list() method on a node that has a custom script that exports a property will return a dictionary that has the usage number 4102 which does not seem to be explained in PropertyUsageFlags in the documentation. This is not a big issue and can be fixed easily and no one probably even knows this exists.

PropertyUsageFlags can be combined, meaning the 4102 value is a combination of 4096 + 4 + 2, which are respectively:
PROPERTY_USAGE_SCRIPT_VARIABLE = 4096
PROPERTY_USAGE_EDITOR = 4
PROPERTY_USAGE_STORAGE = 2

1 Like

Oh ok, that’s not at all what I was expecting. Well, I appreciate your reply, that solves it. I should’ve known that this isn’t an issue with Godot and is instead a lack of knowledge on my part, that’s usually the case anyways.

1 Like

No worries, it’s not intuitive if you don’t know about it.
You can mark my response as a solution to the post, no need to update the title by the way.