You need to calm down a little. No one is trolling or jumping on you. Every answer here was very civil until now and everyone in this thread wanted to help you solve your problem.
Unfortunately, no one actually properly understood what you’re trying to achieve, so answers were not accurate. This definitely doesn’t mean that people have ill intentions towards you.
This one sentence is already more descriptive than the rest of the thread I believe.
You can achieve that with the following syntax:
extends Node
class MyCustomType:
static var foo: int = 1
var bar: String = "hello"
func _ready() -> void:
var type = MyCustomType
print(type.foo) # "1"
var instance = type.new()
print(instance.bar) # "hello"
and it has auto completion as you can see here:
Is this what you need?
