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

Default

“”

Setter

set_description(value)

Getter

get_description()

The text inside the comment node.


Default

Vector2( 150, 150 )

Setter

set_size(value)

Getter

get_size()

The comment node’s size (in pixels).


Default

“Comment”

Setter

set_title(value)

Getter

get_title()

The comment node’s title.