How can I extends from Canvasitem

Godot Version

v4.3.beta1.official [a4f2ea91a]


The language I use is GDScript, I want to inherit from Canvasitem and I redefine the class_name, but when creating a node, I can’t find a custom node inherited from Canvas_item

it’s an abstract class so you can’t extend it, but why do you need to specifically? It doesn’t have any specific code for positioning and stuff that’s all defined in either Control or Node2D