Skip to content

Add documentation for static var in GDScript reference. #7711

@ghost

Description

Your Godot version:
4.1.1

Issue description:
As described in https://godotengine.org/article/godot-4-1-is-here/#gdscript, since version 4.1, it is possible to use the static keyword with variable declarations.

The GDScript reference in documentation page still does not account for this and in "keywords" section states:

static Defines a static function. Static member variables are not allowed.

Additionaly I believe that the page should have additional (sub)section with a desription of the static member veriables, like it already has for static functions.

URL to the documentation page (if already existing):
https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#keywords

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions