You are reading the latest (unstable) version of this documentation, which may document features not available or compatible with Godot 3.x.

Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.


Inherits: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

A Vector2 constant to be used within the visual shader graph.


A constant Vector2, which can be used as an input node.




Vector2(0, 0)

Property Descriptions

Vector2 constant = Vector2(0, 0)

A Vector2 constant which represents the state of this node.