W3cubDocs

/Godot 3.1

VisualScriptComment

Inherits: VisualScriptNode < Resource < Reference < Object

Category: Core

Brief Description

A Visual Script node used to annotate the script.

Properties

String description
Vector2 size
String title

Description

A Visual Script node used to display annotations in the script, so that code may be documented.

Comment nodes can be resized so they encompass a group of nodes.

Property Descriptions

String description

Setter set_description(value)
Getter get_description()

The text inside the comment node.

Vector2 size

Setter set_size(value)
Getter get_size()

The comment node’s size (in pixels).

String title

Setter set_title(value)
Getter get_title()

The comment node’s title.

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_visualscriptcomment.html