How to make new variables outside a node's script?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GodotNoob999

If I made a new Node with, and wanted to use only the built-in variables and one more custom variable, I would create a new script consisting only of:

extends Node

var example

Is there a better way to do this?

:bust_in_silhouette: Reply From: bitwes

That’s the best and only way.

Oh. Thanks anyway

GodotNoob999 | 2018-04-25 07:36