VisualScriptComment

Inherits: VisualScriptNode < Resource < Reference < Object

A Visual Script node used to annotate the script.

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.

Properties

String

description

""

Vector2

size

Vector2( 150, 150 )

String

title

"Comment"

Property Descriptions

String description

Default

""

Setter

set_description(value)

Getter

get_description()

The text inside the comment node.

Vector2 size

Default

Vector2( 150, 150 )

Setter

set_size(value)

Getter

get_size()

The comment node's size (in pixels).

String title

Default

"Comment"

Setter

set_title(value)

Getter

get_title()

The comment node's title.

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